altium_rename_parameter
Rename a parameter on specified components or all components containing it. Preview by default; apply writes changes in memory without saving.
Instructions
Rename a parameter on the given components, or on every component that has it when designators is omitted (at most 500). Refused if the new name already exists on a component. apply=false (default) only previews and never touches Altium; apply=true writes. Edits stay in memory: the document is left modified but NOT saved, and Ctrl+Z in Altium undoes them. Requires the server to be in read_write mode.
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": {
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "altium_rename_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| new_name | Yes | ||
| old_name | Yes | ||
| designators | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||