Change a subagent's model
set_modelChange an idle subagent session's model to a validated model ID, waiting until the session is idle before applying the update.
Instructions
Switch an idle session's model via session/set_config_option and confirm the echoed value (e.g. 'swe-2-high'). Rejected while the session is starting/running/stopped/dead — resume or wait for idle first. Validated against the advertised model list when known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Subagent handle returned by spawn, e.g. 'coder-auth' | |
| model | Yes | Model id from the session's advertised list |