set_mode
Activate a named mode to load tailored instructions and optional edit scope, then follow them until the mode ends or another is selected.
Instructions
Activate a mode. Returns short instructions you should follow until end_mode is called or the user picks another mode.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Mode id from list_modes, e.g. deep-focus. Required. | |
| mode | No | Alias for id. | |
| scope | No | Optional. Files, folders or globs you expect to change. Used by Deep Focus: editing outside them needs the user's approval. |