Select TraeCN Mode
traecn_select_modeSwitch TraeCN between Solo and IDE modes and confirm the active mode. Use only when a mode change is needed, ensuring the UI matches your workflow.
Instructions
Switch TraeCN between Solo and IDE mode and confirm the resulting active mode. Switching to the current mode succeeds as a no-op. Call only when the requested mode differs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Target UI mode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Stable machine-readable result or error code. | |
| mode | No | Active mode after the switch. | |
| error | No | Error identifier or diagnostic when the operation 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. | |
| previousMode | No | Mode active before the switch. | |
| alreadyInMode | No | True when the requested mode was already active (no-op). | |
| conversationId | No | Stable TraeCN conversation identifier. |