Send TraeCN Task
traecn_send_messageDelegate coding tasks to TraeCN by submitting one instruction as durable background work, returning a stable taskId for tracking without follow-up probes.
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 | Error identifier or diagnostic when the operation failed. | |
| status | No | Acceptance status reported by the gateway. | |
| 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. | |
| retryable | No | Whether retrying the same call can succeed later. | |
| nextAction | No | Suggested next step after a failure. | |
| conversationId | No | Stable TraeCN conversation identifier. |