Stop Visible Generation
traecn_stop_generationStop active generation in a TraeCN conversation while acknowledging untracked work. Provide an audit reason to log the halt and avoid unintended interference.
Instructions
Stop only the generation currently visible in the named active TraeCN conversation. Visible output may belong to the user or another agent, so this requires acknowledgeUntrackedWork=true plus an audit reason. Prefer cancel_task whenever a gateway task ID exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Concise reason recorded in the local security audit log. | |
| conversationId | Yes | Stable identifier returned by traecn_list_conversations. | |
| acknowledgeUntrackedWork | Yes | Must be true to acknowledge that visible work may belong to the user or another agent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Stable machine-readable result or error code. | |
| error | No | Error identifier or diagnostic when the operation failed. | |
| scope | No | Verified stop scope. | |
| reason | No | Driver-reported failure reason when the stop failed. | |
| status | No | Stable operation or task status. | |
| taskId | No | Stable gateway task identifier. | |
| changed | No | Whether visible TraeCN state changed. | |
| message | No | Human-readable outcome summary. | |
| success | No | Whether the operation succeeded. | |
| retryable | No | Whether retrying the same call can succeed later. | |
| nextAction | No | Suggested next step after a failure. | |
| conversationId | No | Stable TraeCN conversation identifier. | |
| activeConversationId | No | Conversation ID actually active (mismatch path). | |
| requestedConversationId | No | Conversation ID supplied by the caller (mismatch path). |