Set TraeCN Setting Toggle
traecn_set_setting_toggleEnable or disable a toggle setting by specifying section and label, then verify the applied state. Handles no-op when state is unchanged.
Instructions
Enable or disable one toggle setting identified by section and label, then read back the applied state. Applying the already-current state succeeds as a no-op.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Setting label exactly as returned by traecn_list_settings. | |
| enabled | Yes | Desired toggle state. | |
| section | Yes | Section name exactly as returned by traecn_list_setting_sections. |
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. | |
| label | No | Setting label that was written. | |
| value | No | Value applied to the setting. | |
| result | No | Driver-reported write outcome, including already-in-desired-state. | |
| 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. |