Attach API endpoint
attach_api_endpointAttach an existing custom API-endpoint tool to the agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"endpoint_id": "<endpoint_id>"
},
"name": "attach_api_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Target agent's id (from list_agents / create_agent / get_catalog view=agents). | |
| endpoint_id | Yes | Id of the API endpoint (from get_catalog view=api_endpoints). |