open_document
Open a KOMPAS document by specifying its file path to obtain a stable document_id for subsequent CAD operations. Supports visibility and read-only modes.
Instructions
Open a KOMPAS document and return a stable document_id.
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": {
"path": "<path>"
},
"name": "open_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| visible | No | ||
| read_only | No |