object_rename
Renames supported IC-CAP objects (Model, Dut, Setup, Input, Output, Transform, Plot, Macro) using their path. Specify object type when names conflict.
Instructions
Rename an IC-CAP object. Supported types: Model, Dut, Setup, Input, Output, Transform, Plot, Macro. NOT supported for: Par, MPar, DPar, TableVar, Main, InstrVar. Use object_type to disambiguate naming conflicts.
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": {
"object_path": "<object_path>",
"new_name": "<new_name>"
},
"name": "object_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New name for the object (not a full path, just the name) | |
| object_path | Yes | e.g. '/model/dut/setup/obj_name' | |
| object_type | No | Optional. Specify when multiple objects share the same name. |