ipc_get_selection
Show the items that the user selected in the PCB editor of the running KiCad.
Instructions
Show the items that the user selected in the PCB editor of the running KiCad.
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": {
"board_path": "<board_path>"
},
"name": "ipc_get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_path | Yes | The path of the .kicad_pcb file that is open in the PCB editor. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |