Ask a bot
ask_botSend a message to a Casama bot and get its reply, continuing a thread with conversation_id. Use bounded wait_seconds to avoid blocking, then follow up with get_run when the bot is still working.
Instructions
Send a message to a Casama bot and wait for its reply. The bot can use its own computer and tools; risky actions may wait for the person's approval (see what_needs_me and list_approvals). Pass conversation_id to continue a thread. Assistants that can't wait long should pass wait_seconds: if the bot is still working when it runs out, the answer says so with a run_id (follow up with get_run), and the person gets a notification when it's done.
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": {
"bot": "<bot>",
"message": "<message>"
},
"name": "ask_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | Bot name or id | |
| message | Yes | ||
| workspace | No | ||
| wait_seconds | No | How long to wait for the reply, 5–120 seconds (default: up to 10 minutes) | |
| conversation_id | No |