ask
Create a chat, send a prompt, and receive the complete assistant reply with a chat UUID for follow-ups. Supports streaming mode for real-time token delivery.
Instructions
One-shot helper: create a chat, send a prompt, wait for the completed assistant reply, and return it. Ideal for stateless Q&A. The created chat UUID is included in the response for follow-ups. Set mode: "stream" to opt into real-time token delivery (default behaviour is controlled by SYNTX_STREAM_MODE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Override the streaming strategy. "stream" uses WSS; "poll" uses REST polling; "auto" tries WSS then falls back to polling; "off" disables waiting (the tool returns after sending). | |
| scope | No | text | |
| title | No | Chat title. Defaults to a truncated prompt. | |
| prompt | Yes | The prompt text to send. | |
| ai_name | No | ||
| timeout | No | ||
| model_type | No | ||
| poll_interval | No |