switch_profile
Swap the active Claude Code configuration to a saved profile. Automatically backs up the previous config before switching; restart required.
Instructions
Swap the active ~/.claude.json with a saved profile. Auto-creates a backup of the previous active config. The user must restart Claude Code for the new config to take effect.
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": {
"name": "<name>"
},
"name": "switch_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Profile name to switch to (must exist; see list_profiles). |