Attach a bot to an agent
attach_agent_botAttach an already connected bot belonging to your account. Never accepts a bot token. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.
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": {
"request_id": "<request_id>",
"agent_id": "<agent_id>",
"telegram_bot_id": "<telegram_bot_id>"
},
"name": "attach_agent_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| request_id | Yes | Stable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result. | |
| telegram_bot_id | Yes |