cc_switch_model
Switch the model for a managed Claude Code/Codex session. Tighten access by restricting models, requiring confirmation, or limiting to the frontmost app.
Instructions
切换受管 Claude Code/Codex 会话模型;默认允许所有模型,可用配置收紧。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "cc_switch_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| confirm | No | ||
| session_id | No | default | |
| allow_frontmost | No |