Skip to main content
Create an uploaded SVG avatar URL and optionally assign it to a structured project agent

Tool details

FieldValue
Namecreate_agent_avatar
GroupAgents

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project identifier or slug associated with the record."
    },
    "agent_id": {
      "type": "string",
      "minLength": 1,
      "description": "The agent id associated with this record."
    },
    "config": {
      "type": "object",
      "properties": {
        "seed": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "description": "The seed associated with this record."
        },
        "archetype": {
          "type": "string",
          "enum": [
            "upright",
            "slumped",
            "alert",
            "profile",
            "leaning",
            "crouched",
            "tall",
            "spread",
            "happy",
            "sad",
            "angry",
            "surprised",
            "sleepy",
            "curious"
          ],
          "description": "The archetype associated with this record."
        },
        "texture": {
          "type": "string",
          "pattern": "^(?:[0-9]|none)$",
          "description": "The texture associated with this record."
        },
        "color": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$",
          "description": "The color associated with this record."
        },
        "shape": {
          "type": "string",
          "enum": [
            "snircle",
            "circle",
            "square"
          ],
          "description": "The shape associated with this record."
        },
        "matrix": {
          "type": "string",
          "pattern": "^[012]{16}$",
          "description": "The matrix associated with this record."
        }
      },
      "additionalProperties": false,
      "description": "The config associated with this record."
    },
    "assign": {
      "type": "boolean",
      "description": "Persist the generated avatar_url onto the agent. Defaults to true. Use false to upload and return avatar_url before create_agent or update_agent."
    },
    "source_target_kind": {
      "type": "string",
      "description": "The source target kind associated with this record."
    },
    "target_branch_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "description": "The target branch id associated with this record."
        },
        {
          "type": "null",
          "description": "Provide the target branch id."
        }
      ],
      "description": "The target branch id associated with this record."
    }
  },
  "required": [
    "agent_id"
  ],
  "additionalProperties": false,
  "description": "Structured generate agent avatar input schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "avatar_url": {
      "type": "string",
      "format": "uri",
      "description": "The avatar url associated with this record."
    }
  },
  "required": [
    "avatar_url"
  ],
  "additionalProperties": false,
  "description": "Structured generate agent avatar output schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}