agent_set_model
Switch the AI model used by a Claude Code or agy session; live tmux sessions receive the /model command and confirmation, while background sessions apply the change on their next turn.
Instructions
Change the model a session runs on. For a running tmux session this types the /model command and confirms the switch, because a live process cannot be re-pointed any other way. For a background session it applies on the next turn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id | |
| effort | No | ||
| session | Yes |