Chat with Agent
actora_gateway_chatSingle-turn conversation with an agent (SSE stream collected into a reply). Requires access_token (registered-user JWT).
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": "actora_gateway_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Inline mode: caller-supplied system prompt (bypasses agent lookup) | |
| history | No | Optional conversation history [{role, content}] | |
| message | Yes | User message | |
| agent_id | No | Agent ID (omit when using inline prompt) | |
| access_token | No | Gateway JWT — registered-user auth (required) | |
| tenant_key_id | No | BYOK: id of a stored tenant-owned API key |