lib_batch_rename
Rename multiple schematic library components in one call by mapping each current name to a new name, with optional library path and success/failure counts.
Instructions
Batch rename components in a schematic library.
Each assignment renames one component from old_name to new_name.
Args: assignments: List of dicts with keys: - old_name: Current name of the component in the library - new_name: New name for the component library_path: Path to library (uses active library if not specified)
Returns: Dictionary with counts of renamed and failed assignments
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": {
"assignments": "<assignments>"
},
"name": "lib_batch_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assignments | Yes | ||
| library_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||