Skip to main content
Get metadata for a discovered project agent

Tool details

FieldValue
Nameget_agent
GroupAgents

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project identifier or slug that scopes the tool call."
    },
    "agent_id": {
      "type": "string",
      "description": "Provide the agent id."
    },
    "runtime_target_kind": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "production",
            "environment",
            "preview_branch"
          ],
          "description": "Provide the runtime target kind."
        },
        {
          "type": "null",
          "description": "Provide the runtime target kind."
        }
      ],
      "description": "Provide the runtime target kind."
    },
    "target_environment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "description": "Provide the target environment id."
        },
        {
          "type": "null",
          "description": "Provide the target environment id."
        }
      ],
      "description": "Provide the target environment id."
    },
    "target_branch_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid",
          "description": "Provide the target branch id."
        },
        {
          "type": "null",
          "description": "Provide the target branch id."
        }
      ],
      "description": "Provide the target branch id."
    },
    "source_target_kind": {
      "type": "string",
      "enum": [
        "project",
        "production",
        "environment",
        "preview_branch"
      ],
      "description": "Provide the source target kind."
    }
  },
  "required": [
    "project_reference",
    "agent_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Input schema for the get_agent tool."
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the record."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name for the record."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Human-readable description for the record."
    },
    "provider": {
      "type": "object",
      "additionalProperties": {
        "description": "Additional structured values associated with this result."
      },
      "description": "Structured provider details associated with this record."
    },
    "version": {
      "type": "string",
      "description": "The version associated with this record."
    },
    "capabilities": {
      "type": "object",
      "additionalProperties": {
        "description": "Additional structured values associated with this result."
      },
      "description": "Structured capabilities details associated with this record."
    },
    "default_input_modes": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One default input mode item associated with this record."
      },
      "description": "List of default input modes associated with this record."
    },
    "default_output_modes": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One default output mode item associated with this record."
      },
      "description": "List of default output modes associated with this record."
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One tool item associated with this record."
      },
      "description": "List of tools associated with this record."
    },
    "skills": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "description": "Additional structured values associated with this result."
        },
        "description": "One skill item associated with this record."
      },
      "description": "List of skills associated with this record."
    },
    "suggestions": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {
            "description": "Additional structured values associated with this result."
          },
          "description": "Structured suggestions details associated with this record."
        },
        {
          "type": "null",
          "description": "The suggestions returned by the tool."
        }
      ],
      "description": "The suggestions associated with this record."
    },
    "model": {
      "type": [
        "string",
        "null"
      ],
      "description": "The model associated with this record."
    },
    "url": {
      "type": "string",
      "description": "The url associated with this record."
    }
  },
  "required": [
    "id",
    "name",
    "description",
    "provider",
    "version",
    "capabilities",
    "default_input_modes",
    "default_output_modes",
    "tools",
    "skills",
    "suggestions",
    "model",
    "url"
  ],
  "additionalProperties": false,
  "description": "Structured agent output schema for MCP tools.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}