assembly_rename_component
Renames a component in a Fusion assembly and returns the updated occurrence paths, because old occurrence and proxy references stop resolving.
Instructions
Rename a component. The root component cannot be renamed (INVALID_PARAMS).
WARNING: occurrence paths contain the component name ('Box:1' -> 'Case:1'), so every old 'occurrence:Box:1' ref and '@Box:1' proxy ref stops resolving (ENTITY_NOT_FOUND); use the returned paths.
Returns {"component": "component:", "occurrences": ["occurrence:", ...]}.
Example: assembly_rename_component(component="component:Box", name="Case") -> {"component": "component:Case", "occurrences": ["occurrence:Case:1"]}.
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": {
"component": "<component>",
"name": "<name>"
},
"name": "assembly_rename_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name (unique in the design) | |
| component | Yes | Component: 'component:<name>' (an occurrence ref means its component) |