ask
Creates a chat, sends a prompt, waits for the completed assistant reply, and returns it for stateless Q&A, with the chat UUID included for follow-ups.
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 SSE only; "poll" uses REST polling; "auto" tries SSE 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 |