run_action
Invoke any KiCad TOOL_ACTION by name to trigger PCB or schematic commands, enabling advanced automation when standard actions are unavailable.
Instructions
Run an arbitrary KiCad tool action by name (power user / unstable API).
Example actions: 'pcbnew.InteractiveRouter.routeSingleTrack', 'pcbnew.EditTool.Rotate', 'common.Control.zoomFitScreen'. Action names are not guaranteed stable across KiCad versions and may have side effects.
Args: action: The KiCad TOOL_ACTION name to invoke.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||