cad_inspect_existing
Read existing workspace CAD models to extract feature trees, dimensions, equations, custom properties, materials, mass, and referencing assemblies or drawings.
Instructions
读出工作区中现有模型(旧零件/装配/工程图):特征树(压缩状态、父子关系)、全部尺寸全名与数值、 方程式与全局变量、自定义属性、材料、质量,以及引用它的装配/工程图(used_by)。 文件须先用 cad_change_begin(project, sources=[...]) 复制进工作区;file 为工作区内相对路径。
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": {
"file": "<file>"
},
"name": "cad_inspect_existing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||