Attach Own Agent as A2A Tool
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
agent_id*Agent Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/a2a-tools/own-agent" \ -H "Content-Type: application/json" \ -d '{ "target_agent_id": "b0b31ccc-0df2-496f-b84c-b8d90f867dcc" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "target_kind": "string", "target_agent_id": "b0b31ccc-0df2-496f-b84c-b8d90f867dcc", "target_url": "string", "name": "string", "description": "string", "has_credential": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}{ "detail": "string", "code": "string"}{ "detail": "string", "code": "string"}{ "detail": "string", "code": "string"}