save_board_as
Save a copy of the open PCB to a new path, with options to overwrite existing files and include the associated project file.
Instructions
Save a copy of the open PCB to a new path.
Args: file_path: Destination .kicad_pcb path. overwrite: Overwrite if the file already exists. include_project: Also write the associated project file.
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": {
"file_path": "<file_path>"
},
"name": "save_board_as"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| overwrite | No | ||
| include_project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |