get_document_graph
Retrieve a structured representation of a FreeCAD document's feature tree, including each object's TypeId, label, properties, dependency links, validity, and touch state to understand the model's composition and relationships.
Instructions
Get a structured representation of a document's feature tree.
Returns every object with its TypeId, label, properties, dependency links (InList/OutList), validity state, and touch state. This is the primary tool for understanding what a FreeCAD model contains.
Args: doc_name: Document name. Empty string uses the active document.
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": "get_document_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | No |