run_command
Run any Sublime Text command with optional arguments, scoped to window or view, to automate tasks and extend editor functionality.
Instructions
Run any Sublime Text command. scope='window' (default) or 'view'.
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": {
"command": "<command>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| args | No | ||
| scope | No | window |