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.
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. |