model_open
Opens Creo models (.prt/.asm/.drw) from disk or session, optionally displaying and activating them; wildcard file patterns load multiple models without display.
Instructions
Open a model (.prt/.asm/.drw) from disk (or session) and, if display=true, show and activate it.
file may contain wildcards (then several are loaded but none displayed).
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": "model_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| dirname | No | ||
| display | No | ||
| generic | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||