run_kicad_cli
Run any headless KiCad CLI command to automate PCB design tasks such as ERC and DRC checks on schematic and layout files.
Instructions
Run an arbitrary headless kicad-cli command.
Example: command="sch", args=["erc", "project.kicad_sch"] command="pcb", args=["drc", "project.kicad_pcb"]
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>",
"args": "<args>"
},
"name": "run_kicad_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| command | Yes |