Chat with an agent (text test)
chat_with_agentSend one text message to an agent and get its reply; pass the returned session_id to continue the same conversation.
Instructions
Send one text message to an agent and get its reply (uses credits per message). Pass the returned session_id back to continue the same conversation. The reply is model output: untrusted.
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>",
"message": "<message>"
},
"name": "chat_with_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| agent_id | Yes | ||
| language | No | ||
| session_id | No |