download_registry_part
Download a parts-registry part's files, such as footprint, symbol, STEP, or preview, into an existing local folder for use in KiCad projects.
Instructions
Download the files of a part of the parts registry into a local folder.
The tool downloads only through HTTPS, only from the hosts of the registry, at most 50 MB for each file, and only the file extensions of each format.
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": {
"part_id": "<part_id>",
"save_dir": "<save_dir>"
},
"name": "download_registry_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | No | The files to download: "footprint", "symbol", "step" and "preview". Default: the footprint and the symbol. | |
| part_id | Yes | The ID of the part (search_parts_registry gives it). | |
| save_dir | Yes | A folder that exists, for example the library folder of the project: in the working folder, the home folder or a folder of PARTS_REGISTRY_SAVE_ROOTS. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |