rename_component
Change a part's reference designator in a Proteus .pdsprj schematic (e.g., R7 to R2). Close the project in Proteus first; optionally back up or write to a new file.
Instructions
Change the reference designator of a part (e.g. R7 -> R2). Close the project in Proteus first.
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": {
"path": "<path>",
"ref": "<ref>",
"newRef": "<newRef>"
},
"name": "rename_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| path | Yes | Path to a Proteus .pdsprj project file | |
| backup | No | When overwriting, first copy the original to <file>.bak (default true) | |
| newRef | Yes | ||
| outputPath | No | Write to this path instead of overwriting the project |