run_action
Run one REAPER action by command_id (a number from list_actions) or named_id (an SWS... / _RS... string), in the main section or a MIDI editor section. Runs in an undo block.
Instructions
Run one REAPER action by command_id (a number from list_actions) or named_id (an SWS... / _RS... string), in the main section or a MIDI editor section. Runs in an undo block. Save and render actions obey the same gates as save_project and render; Quit is refused. An action that opens a dialog will block the bridge until it is closed.
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": "run_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview: return what would run without changing the project. | |
| section | No | ||
| named_id | No | ||
| command_id | No |