Send TraeCN Task
traecn_send_messageSubmit one coding instruction to TraeCN as durable background work and get a stable taskId immediately; track that task for progress and results instead of sending follow-ups.
Instructions
Submit one user instruction to TraeCN as durable background work and return its stable taskId immediately; the gateway owns queueing, retries, recovery, and result persistence. Use this for every delegated coding request, optionally targeting an existing conversation via conversationId. Do not send follow-up messages to probe progress — track the returned task instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The exact instruction to execute. | |
| conversationId | No | Stable identifier returned by traecn_list_conversations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | False when the gateway rejected the submission. | |
| code | No | Stable machine-readable result or error code. | |
| error | No | Original task error on replay, or submission rejection diagnostic. | |
| result | No | Original captured result on a terminal replay. | |
| status | No | Accepted for new work, or the original terminal status on an idempotent replay. | |
| taskId | No | Stable identifier used by traecn_get_task and traecn_cancel_task. | |
| changed | No | Whether visible TraeCN state changed. | |
| message | No | Human-readable outcome summary. | |
| success | No | Whether the operation succeeded. | |
| terminal | No | True when returning the original terminal task without submitting again. | |
| retryable | No | Whether retrying the same call can succeed later. | |
| nextAction | No | Suggested next step after a failure. | |
| conversationId | No | Stable TraeCN conversation identifier. |