set_permission_mode
Configure security modes for terminal command execution by setting permission levels: allowlist-only, prompt for unlisted commands, or allow all commands with caution.
Instructions
Change the permission mode. Modes: 'allowlist' (only allow listed commands), 'ask' (prompt for unlisted commands), 'allow_all' (allow all commands - use with caution!)
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": {
"mode": "<mode>"
},
"name": "set_permission_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | The permission mode to set | |
| persist | No | Whether to save this mode to config file (default: false, session only) |