Chat with the AI agent
asks_chatSends a message to the workspace's AI agent and returns its full reply (no streaming). This is NOT a sandbox: every call is a real conversation on the API channel — it spends AI credits (essential 1, pro 4, ultra 8 per reply) and appears in the Asks inbox. Pass conversation_id from the previous reply to continue a thread; omitting it starts a new conversation each time. Never call it just to check the connection (use asks_whoami). Requires the API channel to be on (AI Agent → Deploy) and the Premium plan.
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": {
"message": "<message>"
},
"name": "asks_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The message, as the customer would write it. | |
| customer | No | Optional identity for a NEW conversation (ignored when continuing). | |
| conversation_id | No | Continue this API-channel conversation (from a previous reply). |