Get agent capabilities

http
GET /projects/{project_reference}/agents/{agent_id}/capabilities

Get agent capabilities. Requires project.agents.read.

Servers

JSON
[  {    "url": "https://api.veryfront.com"  }]

Authentication

JSON
[  {    "bearerAuth": []  },  {    "apiKeyAuth": []  }]
JSON
{  "bearerAuth": {    "type": "http",    "scheme": "bearer",    "bearerFormat": "JWT or API Key",    "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."  },  "apiKeyAuth": {    "type": "apiKey",    "in": "header",    "name": "X-API-Key",    "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."  }}

Parameters

NameLocationRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
agent_idpathYes
runtime_target_kindqueryNo
target_environment_idqueryNo
target_branch_idqueryNo
source_target_kindqueryNo

Parameter contracts

JSON
[  {    "schema": {      "$ref": "#/components/schemas/ProjectReference"    },    "required": true,    "description": "Project slug, UUID, or domain that identifies the project.",    "name": "project_reference",    "in": "path"  },  {    "schema": {      "type": "string",      "minLength": 1,      "description": "Agent identifier"    },    "required": true,    "name": "agent_id",    "in": "path"  },  {    "schema": {      "type": [        "string",        "null"      ],      "enum": [        "main_branch",        "environment",        "preview_branch",        null      ]    },    "required": false,    "name": "runtime_target_kind",    "in": "query"  },  {    "schema": {      "type": [        "string",        "null"      ],      "format": "uuid"    },    "required": false,    "name": "target_environment_id",    "in": "query"  },  {    "schema": {      "type": [        "string",        "null"      ],      "format": "uuid"    },    "required": false,    "name": "target_branch_id",    "in": "query"  },  {    "schema": {      "type": "string",      "enum": [        "project",        "main_branch",        "environment",        "preview_branch"      ]    },    "required": false,    "name": "source_target_kind",    "in": "query"  }]

Responses

200

Resolved agent capabilities

JSON
{  "description": "Resolved agent capabilities",  "content": {    "application/json": {      "schema": {        "type": "object",        "properties": {          "agent": {            "type": "object",            "properties": {              "id": {                "type": "string"              },              "name": {                "type": "string"              },              "description": {                "type": [                  "string",                  "null"                ],                "description": "Public agent summary. Saved system instructions are in the agent source document (get_agent_source)."              },              "provider": {                "type": "object",                "properties": {                  "organization": {                    "type": "string"                  },                  "url": {                    "type": "string"                  }                },                "required": [                  "organization",                  "url"                ]              },              "version": {                "type": "string"              },              "capabilities": {                "type": "object",                "properties": {                  "streaming": {                    "type": "boolean"                  },                  "push_notifications": {                    "type": "boolean"                  },                  "extensions": {                    "type": "array",                    "items": {                      "type": "string"                    }                  }                },                "required": [                  "streaming",                  "push_notifications",                  "extensions"                ]              },              "default_input_modes": {                "type": "array",                "items": {                  "type": "string"                }              },              "default_output_modes": {                "type": "array",                "items": {                  "type": "string"                }              },              "tools": {                "type": "array",                "items": {                  "type": "string"                },                "description": "Source-selected tools summarized by the card as exact tool IDs. An empty array does not establish that tools are disabled. Read saved configuration from the agent source document and source-selected tools and integration readiness from agent capabilities; neither verifies execution grants."              },              "skills": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "id": {                      "type": "string"                    },                    "name": {                      "type": "string"                    },                    "description": {                      "type": "string"                    },                    "tags": {                      "type": "array",                      "items": {                        "type": "string"                      }                    },                    "examples": {                      "type": "array",                      "items": {                        "type": "string"                      }                    }                  },                  "required": [                    "id",                    "name"                  ]                }              },              "suggestions": {                "type": "array",                "items": {                  "anyOf": [                    {                      "type": "string",                      "minLength": 1                    },                    {                      "type": "object",                      "properties": {                        "title": {                          "type": "string",                          "minLength": 1                        },                        "prompt": {                          "type": "string",                          "minLength": 1                        }                      },                      "required": [                        "title",                        "prompt"                      ],                      "additionalProperties": false                    }                  ]                }              },              "kind": {                "type": "string",                "enum": [                  "source_project_agent",                  "installed_project_agent"                ]              },              "can_run": {                "type": "boolean",                "description": "Whether the card supports invocation. When false, inspect runtime_readiness.status and runtime_readiness.reason before starting a run. True does not prove live runtime readiness, model availability, or execution authorization. These are checked when a run starts."              },              "source_type": {                "type": "string",                "enum": [                  "project",                  "catalog_install"                ]              },              "installed_access": {                "type": "object",                "properties": {                  "grant_id": {                    "type": "string",                    "format": "uuid"                  },                  "relation": {                    "type": "string",                    "enum": [                      "owner",                      "admin",                      "editor",                      "viewer"                    ]                  },                  "service_account_id": {                    "type": "string",                    "format": "uuid"                  },                  "project_id": {                    "type": "string",                    "format": "uuid"                  },                  "status": {                    "type": "string"                  }                },                "required": [                  "grant_id",                  "relation",                  "service_account_id",                  "project_id",                  "status"                ]              },              "runtime_readiness": {                "type": "object",                "properties": {                  "status": {                    "type": "string",                    "enum": [                      "ready",                      "offline",                      "not_applicable",                      "unknown"                    ]                  },                  "reason": {                    "type": [                      "string",                      "null"                    ]                  },                  "runtime_target_kind": {                    "type": [                      "string",                      "null"                    ],                    "enum": [                      "registered_push_service",                      "pull_worker",                      null                    ]                  },                  "runtime_service_key": {                    "type": [                      "string",                      "null"                    ]                  }                },                "required": [                  "status",                  "reason",                  "runtime_target_kind",                  "runtime_service_key"                ],                "description": "Readiness of a registered push or pull runtime service, when one applies. For a source agent, not_applicable means this service check does not apply; it does not mean the agent cannot run. This field does not verify model availability or execution access."              },              "source_path": {                "type": "string"              },              "edit_mode": {                "type": "string",                "enum": [                  "structured",                  "source_only"                ]              },              "avatar_url": {                "type": [                  "string",                  "null"                ],                "description": "This agent's avatar: an http(s) URL, or a root-relative path served from the project. Null when no custom avatar has been set."              },              "model": {                "type": [                  "string",                  "null"                ],                "description": "Model identifier exposed by the agent card. Null does not mean a model is required or identify the model a run will use. Model selection and availability are checked at run admission."              },              "url": {                "type": "string",                "description": "URL of the agent."              }            },            "required": [              "id",              "name",              "description",              "provider",              "version",              "capabilities",              "default_input_modes",              "default_output_modes",              "tools",              "skills",              "kind",              "can_run",              "source_type",              "source_path",              "edit_mode",              "model",              "url"            ]          },          "resolved_capabilities": {            "type": "object",            "properties": {              "source_target": {                "type": "object",                "properties": {                  "kind": {                    "type": "string",                    "enum": [                      "project",                      "main_branch",                      "environment",                      "preview_branch"                    ]                  },                  "target_environment_id": {                    "type": [                      "string",                      "null"                    ],                    "format": "uuid"                  },                  "target_branch_id": {                    "type": [                      "string",                      "null"                    ],                    "format": "uuid"                  }                },                "required": [                  "kind",                  "target_environment_id",                  "target_branch_id"                ]              },              "runtime_target": {                "type": "object",                "properties": {                  "kind": {                    "type": [                      "string",                      "null"                    ],                    "enum": [                      "main_branch",                      "environment",                      "preview_branch",                      null                    ]                  },                  "target_environment_id": {                    "type": [                      "string",                      "null"                    ],                    "format": "uuid"                  },                  "target_branch_id": {                    "type": [                      "string",                      "null"                    ],                    "format": "uuid"                  }                },                "required": [                  "kind",                  "target_environment_id",                  "target_branch_id"                ]              },              "skills": {                "type": "array",                "items": {                  "oneOf": [                    {                      "type": "object",                      "properties": {                        "type": {                          "type": "string",                          "enum": [                            "project"                          ]                        },                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": "string"                        },                        "source_path": {                          "type": "string"                        },                        "edit_mode": {                          "type": "string",                          "enum": [                            "structured",                            "source_only"                          ]                        },                        "allowed_tools": {                          "type": "array",                          "items": {                            "type": "string"                          }                        }                      },                      "required": [                        "type",                        "id",                        "name",                        "description",                        "source_path",                        "edit_mode"                      ],                      "title": "ProjectSkill"                    },                    {                      "type": "object",                      "properties": {                        "type": {                          "type": "string",                          "enum": [                            "agent"                          ]                        },                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": [                            "string",                            "null"                          ]                        },                        "tags": {                          "type": "array",                          "items": {                            "type": "string"                          }                        },                        "examples": {                          "type": "array",                          "items": {                            "type": "string"                          }                        }                      },                      "required": [                        "type",                        "id",                        "name"                      ],                      "title": "AgentSkill"                    }                  ]                },                "description": "Skills available in the selected project source, with advertised agent card skills when reading an agent. This is not the inventory of loaded run skills."              },              "tools": {                "type": "array",                "items": {                  "oneOf": [                    {                      "type": "object",                      "properties": {                        "type": {                          "type": "string",                          "enum": [                            "control_plane"                          ]                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": "string"                        },                        "parameters": {                          "type": "object",                          "additionalProperties": {}                        }                      },                      "required": [                        "type",                        "name"                      ],                      "title": "ControlPlaneTool"                    },                    {                      "type": "object",                      "properties": {                        "type": {                          "type": "string",                          "enum": [                            "integration"                          ]                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": "string"                        },                        "input_schema": {                          "type": "object",                          "additionalProperties": {}                        }                      },                      "required": [                        "type",                        "name",                        "description",                        "input_schema"                      ],                      "title": "IntegrationTool"                    },                    {                      "type": "object",                      "properties": {                        "type": {                          "type": "string",                          "enum": [                            "project"                          ]                        },                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": [                            "string",                            "null"                          ]                        },                        "source_path": {                          "type": "string"                        },                        "edit_mode": {                          "type": "string",                          "enum": [                            "structured",                            "source_only"                          ]                        },                        "input_schema": {                          "type": [                            "object",                            "null"                          ],                          "additionalProperties": {}                        }                      },                      "required": [                        "type",                        "id",                        "name",                        "source_path",                        "edit_mode"                      ],                      "title": "ProjectTool"                    }                  ]                },                "description": "Available tool catalog for project capabilities. For agent capabilities, selected catalog tools only, excluding framework helper inventory; tool_selection reports the recovered authored selector. This does not verify run execution access."              },              "integrations": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "id": {                      "type": "string"                    },                    "name": {                      "type": "string"                    },                    "tool_names": {                      "type": "array",                      "items": {                        "type": "string"                      }                    }                  },                  "required": [                    "id",                    "name",                    "tool_names"                  ]                },                "description": "Available integration groups for project capabilities; groups of selected available tools for agent capabilities. Read tool_resolution for blocked or missing selections."              },              "tool_resolution": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "tool_name": {                      "type": "string"                    },                    "source_selected": {                      "type": "boolean"                    },                    "catalog_available": {                      "type": "boolean"                    },                    "catalog_state": {                      "type": "string",                      "enum": [                        "available",                        "removed"                      ]                    },                    "effective_authorization": {                      "type": "string",                      "enum": [                        "authorized",                        "restricted_by_policy",                        "catalog_unavailable"                      ]                    },                    "policy": {                      "type": "object",                      "properties": {                        "state": {                          "type": "string",                          "enum": [                            "absent",                            "allowed",                            "restricted"                          ]                        },                        "scope": {                          "type": "string",                          "enum": [                            "project",                            "user"                          ]                        },                        "allowed_tools": {                          "type": [                            "array",                            "null"                          ],                          "items": {                            "type": "string"                          }                        },                        "execution_mode": {                          "type": "string",                          "enum": [                            "real",                            "mock"                          ]                        }                      },                      "required": [                        "state",                        "scope",                        "allowed_tools",                        "execution_mode"                      ]                    },                    "credential_requirement": {                      "type": "object",                      "properties": {                        "mode": {                          "type": "string",                          "enum": [                            "oauth_connection",                            "project_credentials",                            "none"                          ]                        },                        "managed_oauth": {                          "type": "boolean"                        },                        "byo_oauth_app_override": {                          "type": "object",                          "properties": {                            "supported": {                              "type": "boolean"                            },                            "required": {                              "type": "boolean"                            },                            "client_id_env_var": {                              "type": [                                "string",                                "null"                              ]                            },                            "client_secret_env_var": {                              "type": [                                "string",                                "null"                              ]                            }                          },                          "required": [                            "supported",                            "required",                            "client_id_env_var",                            "client_secret_env_var"                          ]                        },                        "mandatory_env_vars": {                          "type": "array",                          "items": {                            "type": "string"                          }                        }                      },                      "required": [                        "mode",                        "managed_oauth",                        "byo_oauth_app_override",                        "mandatory_env_vars"                      ]                    },                    "connection_readiness": {                      "type": "object",                      "properties": {                        "status": {                          "type": "string",                          "enum": [                            "ready",                            "required",                            "not_applicable",                            "unknown"                          ]                        },                        "scope": {                          "type": [                            "string",                            "null"                          ],                          "enum": [                            "project",                            "user",                            null                          ]                        },                        "connected_count": {                          "type": [                            "integer",                            "null"                          ],                          "minimum": 0                        }                      },                      "required": [                        "status",                        "scope",                        "connected_count"                      ]                    }                  },                  "required": [                    "tool_name",                    "source_selected",                    "catalog_available",                    "catalog_state",                    "effective_authorization",                    "policy",                    "credential_requirement",                    "connection_readiness"                  ]                }              },              "tool_access": {                "type": "object",                "properties": {                  "version": {                    "type": "number",                    "enum": [                      1                    ]                  },                  "freshness": {                    "type": "object",                    "properties": {                      "resolved_at": {                        "type": "string",                        "format": "date-time"                      },                      "valid_for_ms": {                        "type": "integer",                        "exclusiveMinimum": 0                      },                      "fail_closed_on_expiry": {                        "type": "boolean",                        "enum": [                          true                        ]                      }                    },                    "required": [                      "resolved_at",                      "valid_for_ms",                      "fail_closed_on_expiry"                    ]                  },                  "inputs": {                    "type": "object",                    "properties": {                      "capabilities": {                        "type": "array",                        "items": {                          "type": "string",                          "enum": [                            "project.read",                            "project.settings.manage",                            "project.delete",                            "project.members.read",                            "project.members.manage",                            "project.invites.read",                            "project.invites.manage",                            "project.files.read",                            "project.files.write",                            "project.realtime.connect",                            "project.realtime.write",                            "project.files.admin",                            "project.uploads.read",                            "project.uploads.write",                            "project.uploads.admin",                            "project.knowledge.read",                            "project.knowledge.write",                            "project.releases.read",                            "project.releases.write",                            "project.deployments.read",                            "project.deployments.write",                            "project.deploy.execute",                            "project.runtime.manage",                            "project.channels.read",                            "project.channels.write",                            "project.sandboxes.manage",                            "project.domains.write",                            "project.environments.manage",                            "project.env_vars.write",                            "project.runs.read",                            "project.runs.write",                            "project.runs.admin",                            "project.approvals.decide",                            "project.agents.read",                            "project.agents.write",                            "project.evals.read",                            "project.evals.write",                            "project.evals.run",                            "project.conversations.read",                            "project.conversations.write",                            "project.conversations.create",                            "project.integrations.read",                            "project.integrations.connect",                            "project.integrations.configure",                            "project.api_keys.read",                            "project.api_keys.manage",                            "project.cache.read",                            "project.cache.write",                            "project.logs.read",                            "project.metrics.read",                            "project.resources.read"                          ]                        }                      },                      "billing": {                        "type": "object",                        "properties": {                          "collaboration_allowed": {                            "type": "boolean"                          },                          "can_invite": {                            "type": "boolean"                          }                        },                        "required": [                          "collaboration_allowed",                          "can_invite"                        ]                      },                      "entitlements": {                        "type": "object",                        "properties": {                          "dedicated_runtime": {                            "type": "boolean"                          },                          "custom_domains": {                            "type": "boolean"                          },                          "export_apps": {                            "type": "boolean"                          }                        },                        "required": [                          "dedicated_runtime",                          "custom_domains",                          "export_apps"                        ]                      }                    },                    "required": [                      "capabilities",                      "billing",                      "entitlements"                    ]                  },                  "families": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "family": {                          "type": "string",                          "enum": [                            "collaboration",                            "runtime",                            "domains",                            "export"                          ]                        },                        "default_decision": {                          "type": "object",                          "properties": {                            "visibility": {                              "type": "string",                              "enum": [                                "visible",                                "hidden"                              ]                            },                            "reason_code": {                              "type": "string",                              "enum": [                                "allowed",                                "missing_capability",                                "billing_plan_restriction",                                "billing_seat_limit",                                "target_not_supported",                                "resource_state_restriction",                                "policy_exception",                                "unknown"                              ]                            },                            "message": {                              "type": "string"                            }                          },                          "required": [                            "visibility",                            "reason_code"                          ]                        },                        "action_overrides": {                          "type": "array",                          "items": {                            "type": "object",                            "properties": {                              "action": {                                "type": "string",                                "enum": [                                  "create_invite",                                  "delete_member",                                  "create_server",                                  "delete_server",                                  "create_domain",                                  "download_release"                                ]                              },                              "decision": {                                "type": "object",                                "properties": {                                  "visibility": {                                    "type": "string",                                    "enum": [                                      "visible",                                      "hidden"                                    ]                                  },                                  "reason_code": {                                    "type": "string",                                    "enum": [                                      "allowed",                                      "missing_capability",                                      "billing_plan_restriction",                                      "billing_seat_limit",                                      "target_not_supported",                                      "resource_state_restriction",                                      "policy_exception",                                      "unknown"                                    ]                                  },                                  "message": {                                    "type": "string"                                  }                                },                                "required": [                                  "visibility",                                  "reason_code"                                ]                              }                            },                            "required": [                              "action",                              "decision"                            ]                          }                        }                      },                      "required": [                        "family",                        "default_decision",                        "action_overrides"                      ]                    }                  }                },                "required": [                  "version",                  "freshness",                  "inputs",                  "families"                ],                "description": "Requesting-principal policy for catalog visibility, not the agent tool selection or execution grants."              },              "prompts": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "id": {                      "type": "string"                    },                    "name": {                      "type": "string"                    },                    "description": {                      "type": [                        "string",                        "null"                      ]                    },                    "source_path": {                      "type": "string"                    },                    "edit_mode": {                      "type": "string",                      "enum": [                        "structured",                        "source_only"                      ]                    }                  },                  "required": [                    "id",                    "name",                    "source_path",                    "edit_mode"                  ]                }              },              "workflows": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "id": {                      "type": "string"                    },                    "name": {                      "type": "string"                    },                    "description": {                      "type": [                        "string",                        "null"                      ]                    },                    "target": {                      "type": "string"                    },                    "source_path": {                      "type": "string"                    },                    "edit_mode": {                      "type": "string",                      "enum": [                        "structured",                        "source_only"                      ]                    },                    "version": {                      "type": [                        "string",                        "null"                      ]                    },                    "input_schema": {                      "type": [                        "object",                        "null"                      ],                      "additionalProperties": {}                    },                    "output_schema": {                      "type": [                        "object",                        "null"                      ],                      "additionalProperties": {}                    },                    "schedulable": {                      "type": "boolean"                    }                  },                  "required": [                    "id",                    "name",                    "target",                    "source_path",                    "edit_mode",                    "schedulable"                  ]                }              },              "tasks": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "id": {                      "type": "string"                    },                    "name": {                      "type": "string"                    },                    "description": {                      "type": [                        "string",                        "null"                      ]                    },                    "target": {                      "type": "string"                    },                    "source_path": {                      "type": "string"                    },                    "edit_mode": {                      "type": "string",                      "enum": [                        "structured",                        "source_only"                      ]                    },                    "input_schema": {                      "type": [                        "object",                        "null"                      ],                      "additionalProperties": {}                    },                    "output_schema": {                      "type": [                        "object",                        "null"                      ],                      "additionalProperties": {}                    },                    "schedulable": {                      "type": "boolean"                    }                  },                  "required": [                    "id",                    "name",                    "target",                    "source_path",                    "edit_mode",                    "schedulable"                  ]                }              },              "diagnostics": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "kind": {                      "type": "string",                      "enum": [                        "source_file_diagnostic",                        "source_agent_discovery_error",                        "source_trigger_discovery_error"                      ]                    },                    "source_kind": {                      "type": "string",                      "enum": [                        "agent",                        "prompt",                        "tool",                        "task",                        "workflow",                        "resource",                        "skill",                        "eval",                        "schedule",                        "webhook"                      ]                    },                    "source_path": {                      "type": "string",                      "minLength": 1                    },                    "source_id": {                      "type": "string",                      "minLength": 1                    },                    "code": {                      "type": "string",                      "enum": [                        "parse_error",                        "invalid_definition",                        "dynamic_definition",                        "duplicate_source_id",                        "unsupported_target",                        "manual_conflict"                      ]                    },                    "message": {                      "type": "string",                      "minLength": 1                    },                    "details": {                      "type": "object",                      "additionalProperties": {}                    }                  },                  "required": [                    "kind",                    "source_kind",                    "source_path",                    "code",                    "message"                  ]                }              },              "tool_selection": {                "oneOf": [                  {                    "type": "object",                    "properties": {                      "kind": {                        "type": "string",                        "enum": [                          "omitted"                        ]                      }                    },                    "required": [                      "kind"                    ],                    "additionalProperties": false                  },                  {                    "type": "object",                    "properties": {                      "kind": {                        "type": "string",                        "enum": [                          "disabled"                        ]                      },                      "selector": {                        "type": "boolean",                        "enum": [                          false                        ]                      }                    },                    "required": [                      "kind",                      "selector"                    ],                    "additionalProperties": false                  },                  {                    "type": "object",                    "properties": {                      "kind": {                        "type": "string",                        "enum": [                          "all"                        ]                      },                      "selector": {                        "type": "boolean",                        "enum": [                          true                        ]                      }                    },                    "required": [                      "kind",                      "selector"                    ],                    "additionalProperties": false                  },                  {                    "type": "object",                    "properties": {                      "kind": {                        "type": "string",                        "enum": [                          "explicit"                        ]                      },                      "selector": {                        "anyOf": [                          {                            "type": "array",                            "items": {                              "type": "string",                              "minLength": 1,                              "maxLength": 128                            },                            "maxItems": 500                          },                          {                            "type": "object",                            "additionalProperties": {                              "type": "boolean"                            }                          }                        ]                      }                    },                    "required": [                      "kind",                      "selector"                    ],                    "additionalProperties": false                  }                ],                "description": "Source selector evidence only. Omitted means no statically recovered tools selector, including source that cannot be statically resolved. Disabled corresponds to false; explicit retains arrays or maps, including empty selections. This does not report runtime helper availability or execution grants."              },              "evidence_scope": {                "type": "object",                "properties": {                  "tools": {                    "type": "string",                    "enum": [                      "agent_source_selection"                    ]                  },                  "integrations": {                    "type": "string",                    "enum": [                      "selected_tool_readiness"                    ]                  },                  "skills": {                    "type": "string",                    "enum": [                      "project_catalog_and_agent_card"                    ]                  },                  "prompts": {                    "type": "string",                    "enum": [                      "project_catalog"                    ]                  },                  "workflows": {                    "type": "string",                    "enum": [                      "project_catalog"                    ]                  },                  "tasks": {                    "type": "string",                    "enum": [                      "project_catalog"                    ]                  },                  "tool_access": {                    "type": "string",                    "enum": [                      "caller_catalog_visibility"                    ]                  },                  "runtime_model": {                    "type": "string",                    "enum": [                      "not_resolved"                    ]                  },                  "agent_execution_access": {                    "type": "string",                    "enum": [                      "not_verified"                    ]                  }                },                "required": [                  "tools",                  "integrations",                  "skills",                  "prompts",                  "workflows",                  "tasks",                  "tool_access",                  "runtime_model",                  "agent_execution_access"                ]              }            },            "required": [              "source_target",              "runtime_target",              "skills",              "tools",              "integrations",              "tool_access",              "prompts",              "workflows",              "tasks",              "tool_selection",              "evidence_scope"            ],            "description": "Source-selected tools and integration groups, with project catalogs and requesting-principal visibility policy. This does not resolve a runtime model or verify run execution access."          }        },        "required": [          "agent",          "resolved_capabilities"        ]      }    }  }}

400

Bad request

JSON
{  "description": "Bad request",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

401

Unauthorized

JSON
{  "description": "Unauthorized",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

403

Forbidden

JSON
{  "description": "Forbidden",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

404

Not found

JSON
{  "description": "Not found",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

500

Server error

JSON
{  "description": "Server error",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

503

internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.

JSON
{  "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

Referenced contracts

components/parameters/ProjectReference

JSON
{  "schema": {    "$ref": "#/components/schemas/ProjectReference"  },  "required": true,  "description": "Project slug, UUID, or domain that identifies the project.",  "name": "project_reference",  "in": "path"}

components/schemas/ProjectReference

JSON
{  "type": "string"}

components/schemas/Problem

JSON
{  "type": "object",  "properties": {    "cause": {      "type": "string",      "enum": [        "schedule_concurrency_forbidden",        "schedule_fire_in_progress",        "schedule_run_limit_reached"      ],      "description": "Schedule admission refusal."    },    "idempotency": {      "type": "object",      "properties": {        "state": {          "type": "string",          "enum": [            "in_progress",            "payload_mismatch",            "outcome_unknown"          ]        },        "operation": {          "type": "string",          "minLength": 1        },        "retryable": {          "type": "boolean"        },        "retry_after_seconds": {          "type": [            "integer",            "null"          ],          "minimum": 0        },        "expires_at": {          "type": [            "string",            "null"          ]        },        "recovery": {          "type": "object",          "properties": {            "available": {              "type": "boolean"            },            "description": {              "type": "string"            },            "resource_url": {              "type": "string"            }          },          "required": [            "available",            "description"          ]        }      },      "required": [        "state",        "operation",        "retryable",        "retry_after_seconds",        "expires_at"      ],      "description": "Replay status, retry timing, and recovery lookup."    },    "type": {      "type": "string",      "description": "URI reference identifying the problem type",      "example": "https://api.veryfront.com/errors/validation-failed"    },    "title": {      "type": "string",      "description": "Short human-readable summary of the problem",      "example": "Validation Failed"    },    "status": {      "type": "integer",      "minimum": 100,      "maximum": 599,      "description": "HTTP status code",      "example": 400    },    "code": {      "type": "string",      "description": "Stable machine-readable error code",      "example": "RUN_INVALID_INPUT"    },    "detail": {      "type": "string",      "description": "Human-readable explanation specific to this occurrence",      "example": "The 'email' field must be a valid email address"    },    "instance": {      "type": "string",      "description": "URI reference identifying the specific occurrence",      "example": "/projects/my-project/members"    },    "slug": {      "type": "string",      "description": "Stable identifier for the problem type",      "example": "validation-failed"    },    "category": {      "type": "string",      "enum": [        "AUTH",        "RESOURCE",        "VALIDATION",        "DATABASE",        "SUBSCRIPTION",        "INTEGRATION",        "INTERNAL"      ],      "description": "API error category",      "example": "VALIDATION"    },    "suggestion": {      "type": "string",      "description": "Suggested action to resolve the problem",      "example": "Check the request body and query parameters against the API documentation."    },    "errors": {      "type": "array",      "items": {        "type": "object",        "properties": {          "field": {            "type": "string",            "description": "Field path that caused the error",            "example": "email"          },          "message": {            "type": "string",            "description": "Error message for this field",            "example": "Invalid email format"          },          "code": {            "type": "string",            "description": "Error code for this field",            "example": "INVALID_FORMAT"          }        },        "required": [          "field",          "message"        ]      },      "description": "Detailed field-level errors for validation failures"    }  },  "required": [    "type",    "title",    "status"  ]}

Operation contract

JSON
{  "operationId": "getAgentCapabilities",  "tags": [    "agents/Agents/Agent Capabilities"  ],  "summary": "Get agent capabilities",  "description": "Get agent capabilities. Requires project.agents.read.",  "parameters": [    {      "$ref": "#/components/parameters/ProjectReference"    },    {      "schema": {        "type": "string",        "minLength": 1,        "description": "Agent identifier"      },      "required": true,      "name": "agent_id",      "in": "path"    },    {      "schema": {        "type": [          "string",          "null"        ],        "enum": [          "main_branch",          "environment",          "preview_branch",          null        ]      },      "required": false,      "name": "runtime_target_kind",      "in": "query"    },    {      "schema": {        "type": [          "string",          "null"        ],        "format": "uuid"      },      "required": false,      "name": "target_environment_id",      "in": "query"    },    {      "schema": {        "type": [          "string",          "null"        ],        "format": "uuid"      },      "required": false,      "name": "target_branch_id",      "in": "query"    },    {      "schema": {        "type": "string",        "enum": [          "project",          "main_branch",          "environment",          "preview_branch"        ]      },      "required": false,      "name": "source_target_kind",      "in": "query"    }  ],  "responses": {    "200": {      "description": "Resolved agent capabilities",      "content": {        "application/json": {          "schema": {            "type": "object",            "properties": {              "agent": {                "type": "object",                "properties": {                  "id": {                    "type": "string"                  },                  "name": {                    "type": "string"                  },                  "description": {                    "type": [                      "string",                      "null"                    ],                    "description": "Public agent summary. Saved system instructions are in the agent source document (get_agent_source)."                  },                  "provider": {                    "type": "object",                    "properties": {                      "organization": {                        "type": "string"                      },                      "url": {                        "type": "string"                      }                    },                    "required": [                      "organization",                      "url"                    ]                  },                  "version": {                    "type": "string"                  },                  "capabilities": {                    "type": "object",                    "properties": {                      "streaming": {                        "type": "boolean"                      },                      "push_notifications": {                        "type": "boolean"                      },                      "extensions": {                        "type": "array",                        "items": {                          "type": "string"                        }                      }                    },                    "required": [                      "streaming",                      "push_notifications",                      "extensions"                    ]                  },                  "default_input_modes": {                    "type": "array",                    "items": {                      "type": "string"                    }                  },                  "default_output_modes": {                    "type": "array",                    "items": {                      "type": "string"                    }                  },                  "tools": {                    "type": "array",                    "items": {                      "type": "string"                    },                    "description": "Source-selected tools summarized by the card as exact tool IDs. An empty array does not establish that tools are disabled. Read saved configuration from the agent source document and source-selected tools and integration readiness from agent capabilities; neither verifies execution grants."                  },                  "skills": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": "string"                        },                        "tags": {                          "type": "array",                          "items": {                            "type": "string"                          }                        },                        "examples": {                          "type": "array",                          "items": {                            "type": "string"                          }                        }                      },                      "required": [                        "id",                        "name"                      ]                    }                  },                  "suggestions": {                    "type": "array",                    "items": {                      "anyOf": [                        {                          "type": "string",                          "minLength": 1                        },                        {                          "type": "object",                          "properties": {                            "title": {                              "type": "string",                              "minLength": 1                            },                            "prompt": {                              "type": "string",                              "minLength": 1                            }                          },                          "required": [                            "title",                            "prompt"                          ],                          "additionalProperties": false                        }                      ]                    }                  },                  "kind": {                    "type": "string",                    "enum": [                      "source_project_agent",                      "installed_project_agent"                    ]                  },                  "can_run": {                    "type": "boolean",                    "description": "Whether the card supports invocation. When false, inspect runtime_readiness.status and runtime_readiness.reason before starting a run. True does not prove live runtime readiness, model availability, or execution authorization. These are checked when a run starts."                  },                  "source_type": {                    "type": "string",                    "enum": [                      "project",                      "catalog_install"                    ]                  },                  "installed_access": {                    "type": "object",                    "properties": {                      "grant_id": {                        "type": "string",                        "format": "uuid"                      },                      "relation": {                        "type": "string",                        "enum": [                          "owner",                          "admin",                          "editor",                          "viewer"                        ]                      },                      "service_account_id": {                        "type": "string",                        "format": "uuid"                      },                      "project_id": {                        "type": "string",                        "format": "uuid"                      },                      "status": {                        "type": "string"                      }                    },                    "required": [                      "grant_id",                      "relation",                      "service_account_id",                      "project_id",                      "status"                    ]                  },                  "runtime_readiness": {                    "type": "object",                    "properties": {                      "status": {                        "type": "string",                        "enum": [                          "ready",                          "offline",                          "not_applicable",                          "unknown"                        ]                      },                      "reason": {                        "type": [                          "string",                          "null"                        ]                      },                      "runtime_target_kind": {                        "type": [                          "string",                          "null"                        ],                        "enum": [                          "registered_push_service",                          "pull_worker",                          null                        ]                      },                      "runtime_service_key": {                        "type": [                          "string",                          "null"                        ]                      }                    },                    "required": [                      "status",                      "reason",                      "runtime_target_kind",                      "runtime_service_key"                    ],                    "description": "Readiness of a registered push or pull runtime service, when one applies. For a source agent, not_applicable means this service check does not apply; it does not mean the agent cannot run. This field does not verify model availability or execution access."                  },                  "source_path": {                    "type": "string"                  },                  "edit_mode": {                    "type": "string",                    "enum": [                      "structured",                      "source_only"                    ]                  },                  "avatar_url": {                    "type": [                      "string",                      "null"                    ],                    "description": "This agent's avatar: an http(s) URL, or a root-relative path served from the project. Null when no custom avatar has been set."                  },                  "model": {                    "type": [                      "string",                      "null"                    ],                    "description": "Model identifier exposed by the agent card. Null does not mean a model is required or identify the model a run will use. Model selection and availability are checked at run admission."                  },                  "url": {                    "type": "string",                    "description": "URL of the agent."                  }                },                "required": [                  "id",                  "name",                  "description",                  "provider",                  "version",                  "capabilities",                  "default_input_modes",                  "default_output_modes",                  "tools",                  "skills",                  "kind",                  "can_run",                  "source_type",                  "source_path",                  "edit_mode",                  "model",                  "url"                ]              },              "resolved_capabilities": {                "type": "object",                "properties": {                  "source_target": {                    "type": "object",                    "properties": {                      "kind": {                        "type": "string",                        "enum": [                          "project",                          "main_branch",                          "environment",                          "preview_branch"                        ]                      },                      "target_environment_id": {                        "type": [                          "string",                          "null"                        ],                        "format": "uuid"                      },                      "target_branch_id": {                        "type": [                          "string",                          "null"                        ],                        "format": "uuid"                      }                    },                    "required": [                      "kind",                      "target_environment_id",                      "target_branch_id"                    ]                  },                  "runtime_target": {                    "type": "object",                    "properties": {                      "kind": {                        "type": [                          "string",                          "null"                        ],                        "enum": [                          "main_branch",                          "environment",                          "preview_branch",                          null                        ]                      },                      "target_environment_id": {                        "type": [                          "string",                          "null"                        ],                        "format": "uuid"                      },                      "target_branch_id": {                        "type": [                          "string",                          "null"                        ],                        "format": "uuid"                      }                    },                    "required": [                      "kind",                      "target_environment_id",                      "target_branch_id"                    ]                  },                  "skills": {                    "type": "array",                    "items": {                      "oneOf": [                        {                          "type": "object",                          "properties": {                            "type": {                              "type": "string",                              "enum": [                                "project"                              ]                            },                            "id": {                              "type": "string"                            },                            "name": {                              "type": "string"                            },                            "description": {                              "type": "string"                            },                            "source_path": {                              "type": "string"                            },                            "edit_mode": {                              "type": "string",                              "enum": [                                "structured",                                "source_only"                              ]                            },                            "allowed_tools": {                              "type": "array",                              "items": {                                "type": "string"                              }                            }                          },                          "required": [                            "type",                            "id",                            "name",                            "description",                            "source_path",                            "edit_mode"                          ],                          "title": "ProjectSkill"                        },                        {                          "type": "object",                          "properties": {                            "type": {                              "type": "string",                              "enum": [                                "agent"                              ]                            },                            "id": {                              "type": "string"                            },                            "name": {                              "type": "string"                            },                            "description": {                              "type": [                                "string",                                "null"                              ]                            },                            "tags": {                              "type": "array",                              "items": {                                "type": "string"                              }                            },                            "examples": {                              "type": "array",                              "items": {                                "type": "string"                              }                            }                          },                          "required": [                            "type",                            "id",                            "name"                          ],                          "title": "AgentSkill"                        }                      ]                    },                    "description": "Skills available in the selected project source, with advertised agent card skills when reading an agent. This is not the inventory of loaded run skills."                  },                  "tools": {                    "type": "array",                    "items": {                      "oneOf": [                        {                          "type": "object",                          "properties": {                            "type": {                              "type": "string",                              "enum": [                                "control_plane"                              ]                            },                            "name": {                              "type": "string"                            },                            "description": {                              "type": "string"                            },                            "parameters": {                              "type": "object",                              "additionalProperties": {}                            }                          },                          "required": [                            "type",                            "name"                          ],                          "title": "ControlPlaneTool"                        },                        {                          "type": "object",                          "properties": {                            "type": {                              "type": "string",                              "enum": [                                "integration"                              ]                            },                            "name": {                              "type": "string"                            },                            "description": {                              "type": "string"                            },                            "input_schema": {                              "type": "object",                              "additionalProperties": {}                            }                          },                          "required": [                            "type",                            "name",                            "description",                            "input_schema"                          ],                          "title": "IntegrationTool"                        },                        {                          "type": "object",                          "properties": {                            "type": {                              "type": "string",                              "enum": [                                "project"                              ]                            },                            "id": {                              "type": "string"                            },                            "name": {                              "type": "string"                            },                            "description": {                              "type": [                                "string",                                "null"                              ]                            },                            "source_path": {                              "type": "string"                            },                            "edit_mode": {                              "type": "string",                              "enum": [                                "structured",                                "source_only"                              ]                            },                            "input_schema": {                              "type": [                                "object",                                "null"                              ],                              "additionalProperties": {}                            }                          },                          "required": [                            "type",                            "id",                            "name",                            "source_path",                            "edit_mode"                          ],                          "title": "ProjectTool"                        }                      ]                    },                    "description": "Available tool catalog for project capabilities. For agent capabilities, selected catalog tools only, excluding framework helper inventory; tool_selection reports the recovered authored selector. This does not verify run execution access."                  },                  "integrations": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "tool_names": {                          "type": "array",                          "items": {                            "type": "string"                          }                        }                      },                      "required": [                        "id",                        "name",                        "tool_names"                      ]                    },                    "description": "Available integration groups for project capabilities; groups of selected available tools for agent capabilities. Read tool_resolution for blocked or missing selections."                  },                  "tool_resolution": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "tool_name": {                          "type": "string"                        },                        "source_selected": {                          "type": "boolean"                        },                        "catalog_available": {                          "type": "boolean"                        },                        "catalog_state": {                          "type": "string",                          "enum": [                            "available",                            "removed"                          ]                        },                        "effective_authorization": {                          "type": "string",                          "enum": [                            "authorized",                            "restricted_by_policy",                            "catalog_unavailable"                          ]                        },                        "policy": {                          "type": "object",                          "properties": {                            "state": {                              "type": "string",                              "enum": [                                "absent",                                "allowed",                                "restricted"                              ]                            },                            "scope": {                              "type": "string",                              "enum": [                                "project",                                "user"                              ]                            },                            "allowed_tools": {                              "type": [                                "array",                                "null"                              ],                              "items": {                                "type": "string"                              }                            },                            "execution_mode": {                              "type": "string",                              "enum": [                                "real",                                "mock"                              ]                            }                          },                          "required": [                            "state",                            "scope",                            "allowed_tools",                            "execution_mode"                          ]                        },                        "credential_requirement": {                          "type": "object",                          "properties": {                            "mode": {                              "type": "string",                              "enum": [                                "oauth_connection",                                "project_credentials",                                "none"                              ]                            },                            "managed_oauth": {                              "type": "boolean"                            },                            "byo_oauth_app_override": {                              "type": "object",                              "properties": {                                "supported": {                                  "type": "boolean"                                },                                "required": {                                  "type": "boolean"                                },                                "client_id_env_var": {                                  "type": [                                    "string",                                    "null"                                  ]                                },                                "client_secret_env_var": {                                  "type": [                                    "string",                                    "null"                                  ]                                }                              },                              "required": [                                "supported",                                "required",                                "client_id_env_var",                                "client_secret_env_var"                              ]                            },                            "mandatory_env_vars": {                              "type": "array",                              "items": {                                "type": "string"                              }                            }                          },                          "required": [                            "mode",                            "managed_oauth",                            "byo_oauth_app_override",                            "mandatory_env_vars"                          ]                        },                        "connection_readiness": {                          "type": "object",                          "properties": {                            "status": {                              "type": "string",                              "enum": [                                "ready",                                "required",                                "not_applicable",                                "unknown"                              ]                            },                            "scope": {                              "type": [                                "string",                                "null"                              ],                              "enum": [                                "project",                                "user",                                null                              ]                            },                            "connected_count": {                              "type": [                                "integer",                                "null"                              ],                              "minimum": 0                            }                          },                          "required": [                            "status",                            "scope",                            "connected_count"                          ]                        }                      },                      "required": [                        "tool_name",                        "source_selected",                        "catalog_available",                        "catalog_state",                        "effective_authorization",                        "policy",                        "credential_requirement",                        "connection_readiness"                      ]                    }                  },                  "tool_access": {                    "type": "object",                    "properties": {                      "version": {                        "type": "number",                        "enum": [                          1                        ]                      },                      "freshness": {                        "type": "object",                        "properties": {                          "resolved_at": {                            "type": "string",                            "format": "date-time"                          },                          "valid_for_ms": {                            "type": "integer",                            "exclusiveMinimum": 0                          },                          "fail_closed_on_expiry": {                            "type": "boolean",                            "enum": [                              true                            ]                          }                        },                        "required": [                          "resolved_at",                          "valid_for_ms",                          "fail_closed_on_expiry"                        ]                      },                      "inputs": {                        "type": "object",                        "properties": {                          "capabilities": {                            "type": "array",                            "items": {                              "type": "string",                              "enum": [                                "project.read",                                "project.settings.manage",                                "project.delete",                                "project.members.read",                                "project.members.manage",                                "project.invites.read",                                "project.invites.manage",                                "project.files.read",                                "project.files.write",                                "project.realtime.connect",                                "project.realtime.write",                                "project.files.admin",                                "project.uploads.read",                                "project.uploads.write",                                "project.uploads.admin",                                "project.knowledge.read",                                "project.knowledge.write",                                "project.releases.read",                                "project.releases.write",                                "project.deployments.read",                                "project.deployments.write",                                "project.deploy.execute",                                "project.runtime.manage",                                "project.channels.read",                                "project.channels.write",                                "project.sandboxes.manage",                                "project.domains.write",                                "project.environments.manage",                                "project.env_vars.write",                                "project.runs.read",                                "project.runs.write",                                "project.runs.admin",                                "project.approvals.decide",                                "project.agents.read",                                "project.agents.write",                                "project.evals.read",                                "project.evals.write",                                "project.evals.run",                                "project.conversations.read",                                "project.conversations.write",                                "project.conversations.create",                                "project.integrations.read",                                "project.integrations.connect",                                "project.integrations.configure",                                "project.api_keys.read",                                "project.api_keys.manage",                                "project.cache.read",                                "project.cache.write",                                "project.logs.read",                                "project.metrics.read",                                "project.resources.read"                              ]                            }                          },                          "billing": {                            "type": "object",                            "properties": {                              "collaboration_allowed": {                                "type": "boolean"                              },                              "can_invite": {                                "type": "boolean"                              }                            },                            "required": [                              "collaboration_allowed",                              "can_invite"                            ]                          },                          "entitlements": {                            "type": "object",                            "properties": {                              "dedicated_runtime": {                                "type": "boolean"                              },                              "custom_domains": {                                "type": "boolean"                              },                              "export_apps": {                                "type": "boolean"                              }                            },                            "required": [                              "dedicated_runtime",                              "custom_domains",                              "export_apps"                            ]                          }                        },                        "required": [                          "capabilities",                          "billing",                          "entitlements"                        ]                      },                      "families": {                        "type": "array",                        "items": {                          "type": "object",                          "properties": {                            "family": {                              "type": "string",                              "enum": [                                "collaboration",                                "runtime",                                "domains",                                "export"                              ]                            },                            "default_decision": {                              "type": "object",                              "properties": {                                "visibility": {                                  "type": "string",                                  "enum": [                                    "visible",                                    "hidden"                                  ]                                },                                "reason_code": {                                  "type": "string",                                  "enum": [                                    "allowed",                                    "missing_capability",                                    "billing_plan_restriction",                                    "billing_seat_limit",                                    "target_not_supported",                                    "resource_state_restriction",                                    "policy_exception",                                    "unknown"                                  ]                                },                                "message": {                                  "type": "string"                                }                              },                              "required": [                                "visibility",                                "reason_code"                              ]                            },                            "action_overrides": {                              "type": "array",                              "items": {                                "type": "object",                                "properties": {                                  "action": {                                    "type": "string",                                    "enum": [                                      "create_invite",                                      "delete_member",                                      "create_server",                                      "delete_server",                                      "create_domain",                                      "download_release"                                    ]                                  },                                  "decision": {                                    "type": "object",                                    "properties": {                                      "visibility": {                                        "type": "string",                                        "enum": [                                          "visible",                                          "hidden"                                        ]                                      },                                      "reason_code": {                                        "type": "string",                                        "enum": [                                          "allowed",                                          "missing_capability",                                          "billing_plan_restriction",                                          "billing_seat_limit",                                          "target_not_supported",                                          "resource_state_restriction",                                          "policy_exception",                                          "unknown"                                        ]                                      },                                      "message": {                                        "type": "string"                                      }                                    },                                    "required": [                                      "visibility",                                      "reason_code"                                    ]                                  }                                },                                "required": [                                  "action",                                  "decision"                                ]                              }                            }                          },                          "required": [                            "family",                            "default_decision",                            "action_overrides"                          ]                        }                      }                    },                    "required": [                      "version",                      "freshness",                      "inputs",                      "families"                    ],                    "description": "Requesting-principal policy for catalog visibility, not the agent tool selection or execution grants."                  },                  "prompts": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": [                            "string",                            "null"                          ]                        },                        "source_path": {                          "type": "string"                        },                        "edit_mode": {                          "type": "string",                          "enum": [                            "structured",                            "source_only"                          ]                        }                      },                      "required": [                        "id",                        "name",                        "source_path",                        "edit_mode"                      ]                    }                  },                  "workflows": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": [                            "string",                            "null"                          ]                        },                        "target": {                          "type": "string"                        },                        "source_path": {                          "type": "string"                        },                        "edit_mode": {                          "type": "string",                          "enum": [                            "structured",                            "source_only"                          ]                        },                        "version": {                          "type": [                            "string",                            "null"                          ]                        },                        "input_schema": {                          "type": [                            "object",                            "null"                          ],                          "additionalProperties": {}                        },                        "output_schema": {                          "type": [                            "object",                            "null"                          ],                          "additionalProperties": {}                        },                        "schedulable": {                          "type": "boolean"                        }                      },                      "required": [                        "id",                        "name",                        "target",                        "source_path",                        "edit_mode",                        "schedulable"                      ]                    }                  },                  "tasks": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "id": {                          "type": "string"                        },                        "name": {                          "type": "string"                        },                        "description": {                          "type": [                            "string",                            "null"                          ]                        },                        "target": {                          "type": "string"                        },                        "source_path": {                          "type": "string"                        },                        "edit_mode": {                          "type": "string",                          "enum": [                            "structured",                            "source_only"                          ]                        },                        "input_schema": {                          "type": [                            "object",                            "null"                          ],                          "additionalProperties": {}                        },                        "output_schema": {                          "type": [                            "object",                            "null"                          ],                          "additionalProperties": {}                        },                        "schedulable": {                          "type": "boolean"                        }                      },                      "required": [                        "id",                        "name",                        "target",                        "source_path",                        "edit_mode",                        "schedulable"                      ]                    }                  },                  "diagnostics": {                    "type": "array",                    "items": {                      "type": "object",                      "properties": {                        "kind": {                          "type": "string",                          "enum": [                            "source_file_diagnostic",                            "source_agent_discovery_error",                            "source_trigger_discovery_error"                          ]                        },                        "source_kind": {                          "type": "string",                          "enum": [                            "agent",                            "prompt",                            "tool",                            "task",                            "workflow",                            "resource",                            "skill",                            "eval",                            "schedule",                            "webhook"                          ]                        },                        "source_path": {                          "type": "string",                          "minLength": 1                        },                        "source_id": {                          "type": "string",                          "minLength": 1                        },                        "code": {                          "type": "string",                          "enum": [                            "parse_error",                            "invalid_definition",                            "dynamic_definition",                            "duplicate_source_id",                            "unsupported_target",                            "manual_conflict"                          ]                        },                        "message": {                          "type": "string",                          "minLength": 1                        },                        "details": {                          "type": "object",                          "additionalProperties": {}                        }                      },                      "required": [                        "kind",                        "source_kind",                        "source_path",                        "code",                        "message"                      ]                    }                  },                  "tool_selection": {                    "oneOf": [                      {                        "type": "object",                        "properties": {                          "kind": {                            "type": "string",                            "enum": [                              "omitted"                            ]                          }                        },                        "required": [                          "kind"                        ],                        "additionalProperties": false                      },                      {                        "type": "object",                        "properties": {                          "kind": {                            "type": "string",                            "enum": [                              "disabled"                            ]                          },                          "selector": {                            "type": "boolean",                            "enum": [                              false                            ]                          }                        },                        "required": [                          "kind",                          "selector"                        ],                        "additionalProperties": false                      },                      {                        "type": "object",                        "properties": {                          "kind": {                            "type": "string",                            "enum": [                              "all"                            ]                          },                          "selector": {                            "type": "boolean",                            "enum": [                              true                            ]                          }                        },                        "required": [                          "kind",                          "selector"                        ],                        "additionalProperties": false                      },                      {                        "type": "object",                        "properties": {                          "kind": {                            "type": "string",                            "enum": [                              "explicit"                            ]                          },                          "selector": {                            "anyOf": [                              {                                "type": "array",                                "items": {                                  "type": "string",                                  "minLength": 1,                                  "maxLength": 128                                },                                "maxItems": 500                              },                              {                                "type": "object",                                "additionalProperties": {                                  "type": "boolean"                                }                              }                            ]                          }                        },                        "required": [                          "kind",                          "selector"                        ],                        "additionalProperties": false                      }                    ],                    "description": "Source selector evidence only. Omitted means no statically recovered tools selector, including source that cannot be statically resolved. Disabled corresponds to false; explicit retains arrays or maps, including empty selections. This does not report runtime helper availability or execution grants."                  },                  "evidence_scope": {                    "type": "object",                    "properties": {                      "tools": {                        "type": "string",                        "enum": [                          "agent_source_selection"                        ]                      },                      "integrations": {                        "type": "string",                        "enum": [                          "selected_tool_readiness"                        ]                      },                      "skills": {                        "type": "string",                        "enum": [                          "project_catalog_and_agent_card"                        ]                      },                      "prompts": {                        "type": "string",                        "enum": [                          "project_catalog"                        ]                      },                      "workflows": {                        "type": "string",                        "enum": [                          "project_catalog"                        ]                      },                      "tasks": {                        "type": "string",                        "enum": [                          "project_catalog"                        ]                      },                      "tool_access": {                        "type": "string",                        "enum": [                          "caller_catalog_visibility"                        ]                      },                      "runtime_model": {                        "type": "string",                        "enum": [                          "not_resolved"                        ]                      },                      "agent_execution_access": {                        "type": "string",                        "enum": [                          "not_verified"                        ]                      }                    },                    "required": [                      "tools",                      "integrations",                      "skills",                      "prompts",                      "workflows",                      "tasks",                      "tool_access",                      "runtime_model",                      "agent_execution_access"                    ]                  }                },                "required": [                  "source_target",                  "runtime_target",                  "skills",                  "tools",                  "integrations",                  "tool_access",                  "prompts",                  "workflows",                  "tasks",                  "tool_selection",                  "evidence_scope"                ],                "description": "Source-selected tools and integration groups, with project catalogs and requesting-principal visibility policy. This does not resolve a runtime model or verify run execution access."              }            },            "required": [              "agent",              "resolved_capabilities"            ]          }        }      }    },    "400": {      "description": "Bad request",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "401": {      "description": "Unauthorized",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "403": {      "description": "Forbidden",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "404": {      "description": "Not found",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "500": {      "description": "Server error",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "503": {      "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    }  },  "x-documentation-source-tag": "Agent Capabilities",  "x-canonical-documentation": {    "domain": "agents",    "resource": "Agents",    "subgroup": "Agent Capabilities",    "name": "Get agent capabilities",    "description": "Get agent capabilities. Requires project.agents.read.",    "operationId": "getAgentCapabilities"  },  "x-mint": {    "href": "/cloud/rest/api-reference/agents-agents-agent-capabilities/get-agent-capabilities"  }}