Select TraeCN Model
traecn_select_modelSelect an exact model from the list and confirm picker state; no-op if already active. No waiting for availability.
Instructions
Select one model by exact name from traecn_list_models and confirm the picker state before returning. Selecting the already-active model succeeds as a no-op. Does not wait for model availability or capacity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Exact model name as returned by traecn_list_models. |
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. | |
| model | No | Model now selected. | |
| queued | No | Whether the model queue is busy after switching. | |
| 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. | |
| running | No | Whether generation is running on the model after switching. | |
| success | No | Whether the operation succeeded. | |
| canSubmit | No | Whether a new task may be submitted immediately. | |
| retryable | No | Whether retrying the same call can succeed later. | |
| nextAction | No | Suggested next step after a failure. | |
| queueDetails | No | Queue snapshot for the selected model. | |
| switchResult | No | Driver-level switch outcome summary. | |
| previousModel | No | Model selected before the switch. | |
| conversationId | No | Stable TraeCN conversation identifier. | |
| requestedModel | No | Model name that was requested. | |
| alreadySelected | No | True when the requested model was already active (no-op). |