stream-message
Sends a text prompt over an SSE chat connection and returns the streamed assistant reply, with REST polling fallback if streaming fails.
Instructions
One-shot streaming chat for text scope: opens an SSE connection on sse.syntx.ai, sends the prompt, and streams the assistant reply. Falls back to REST polling on transport failure. Intermediate progress is reported via notifications/progress (when the client supplies a progressToken); the final tool result contains the complete text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Override the streaming strategy. Default "auto" (SSE with polling fallback). | |
| model | No | Initial model for the chat. | |
| scope | No | text | |
| prompt | Yes | The prompt text to send. | |
| ai_name | No | ||
| timeout | No | Max wait time in milliseconds. | |
| model_type | No |