cancel-message
Cancels an in-flight assistant message generation for a specific chat and message ID, stopping the response before it completes.
Instructions
Cancel an in-flight assistant message generation. Mirrors syntx.chats.cancelMessage. Issues POST /api/v1/chats/{chat_id}/messages/{message_id}/cancel. A 404 response is treated as success (the message already finished).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat UUID or numeric id (required). | |
| message_id | Yes | Message id to cancel (required). |