| name | model-switch |
| description | Use when switching the Manager's own LLM model or checking the current model configuration. |
Model Switch
Switch the Manager's LLM model at runtime.
How It Works
The Manager runs on an OpenClaw process configured with a specific model. To switch:
- Update the openclaw.json configuration with the new model.
- Restart the OpenClaw process for the change to take effect.
Current Model
Check the current model configuration:
cat ~/openclaw.json | grep -A 5 '"primary"'
Rules
- Model changes require a Manager restart — inform the human admin before switching.
- Always verify the new model is available and responsive before committing.
- Keep a record of model switches in
memory/YYYY-MM-DD.md.
Decision Pattern
- Confirm the human explicitly requested a Manager model switch.
- Verify the target model, base URL, and credentials through diagnostics.
- Explain restart impact in the Matrix room.
- Apply the runtime config update through Controller/settings APIs.
- Restart the Manager runtime and report the new health status.