run_action
Execute KiCad editor commands such as zone filling, DRC validation, or selection via action names.
Instructions
Trigger a KiCad TOOL_ACTION in the editor.
WARNING: Action names can be unstable between KiCad versions. Use with caution. Known actions:
'pcbnew.ZoneFiller.zoneFill'
'pcbnew.InteractiveRouter.DRCCheck'
'pcbnew.ZoneFiller.zoneUnfill'
'pcbnew.Editor.selectAll'
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": {
"action": "<action>"
},
"name": "run_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |