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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| old_name | Yes | ||
| jcad_path | Yes |