rename
Update the name of an object in a CAD document. Provide the existing name, the desired name, and the document path to persist the change.
Instructions
Rename an object in the document.
:param old_name: The current name of the object. :param new_name: The new name for the object. :return: The document itself.
Warning: This tool will update the JCAD document at the given jcad_path.
To understand the current state of the document, you MUST first use the 'get_current_cad_design' tool.
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": {
"jcad_path": "<jcad_path>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| old_name | Yes | ||
| jcad_path | Yes |