send-message
Send a prompt with optional uploaded-file attachments to an existing chat, returning immediately for asynchronous assistant response.
Instructions
Send a message (prompt) with optional uploaded-file attachments to an existing chat and return immediately. The assistant response is generated asynchronously — poll with wait-for-response or use ask / stream-message for a single blocking call.
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": {
"chat_id": "<chat_id>",
"prompt": "<prompt>"
},
"name": "send-message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The prompt text to send. | |
| ai_name | No | AI service name. Defaults to the server default. | |
| chat_id | Yes | Chat UUID or id. | |
| model_type | No | Model identifier for this message. | |
| attachments | No | Files returned by `upload-files` to attach to this message. |