preflight_document_context
Check KOMPAS document readiness before low-level CAD operations by validating required context, active state, tree, items, type, and extensions to prevent errors.
Instructions
Check KOMPAS session/document readiness before running a low-level operation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preflight_document_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_items | No | ||
| document_id | No | ||
| require_tree | No | ||
| require_items | No | ||
| min_tree_nodes | No | ||
| expected_extensions | No | ||
| expected_document_type | No | ||
| require_active_document | No |