Attach AI tool
attach_ai_toolBind a sub-model 'AI 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>",
"tool_id": "<tool_id>"
},
"name": "attach_ai_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_id | Yes | Id of the AI tool. | |
| agent_id | Yes | Target agent's id (from list_agents / create_agent / get_catalog view=agents). |