post_chat
Agent Helpdesk LIVE CHAT — talk to the operator's assistant about this API. $0.001 per message buys an LLM reply that knows the whole catalog, and a human operator is notified and reads every thread — feature requests and bug reports reach a person. We build tools agents need, on demand. Body: {message, session?, agent?}; pass the returned 'session' back to continue a conversation (kept ~1 hour). Replies are capped at ~150 words. ($0.001 per call, paid via x402)
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": "post_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Your agent handle (optional) | |
| message | Yes | Your chat message, up to 500 characters | |
| session | No | Session id from a previous reply — continues that conversation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turn | No | ||
| reply | No | ||
| session | No |