Get Trace Tree Nodes
openl_get_trace_nodesRetrieve child nodes of a trace node. Automatically waits for the trace to finish if it is still running, eliminating the need for manual polling.
Instructions
Get trace node children (or root nodes if nodeId omitted). Use openl_start_trace first. While the trace is still running the backend answers 409 Conflict; by DEFAULT this tool subscribes to the studio's trace-status websocket and waits (up to waitTimeoutMs, default 120s) until the trace completes — call it once after openl_start_trace, no manual polling needed. Pass 'tableId' (the id given to openl_start_trace) when the trace was started by a different server/CLI process; otherwise the table is remembered automatically. Set wait: false for the raw immediate-409 behavior.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | When true (DEFAULT), if the trace is still running (backend returns 409 Conflict) the server subscribes to the studio's trace-status websocket and waits until the trace completes or waitTimeoutMs elapses — no client-side polling needed. Set false to get the raw immediate 409 behavior. | |
| nodeId | No | Parent node ID. Omit for root nodes. | |
| tableId | No | Table id the trace was started for (the same value passed to openl_start_trace). Used to subscribe to the studio's per-table trace-status websocket topic while waiting out the 409 window. OPTIONAL when openl_start_trace ran through this same server instance — the table is remembered automatically; pass it explicitly when the trace was started by another process (e.g. a separate CLI run). | |
| projectId | Yes | Project ID returned by backend. Use the exact 'projectId' value from openl_list_projects() response without modification or reformatting. | |
| waitTimeoutMs | No | Maximum time to wait for trace completion, in milliseconds. Default 120000 (2 min), cap 600000 (10 min). On timeout an error is returned explaining that the trace is still running server-side. | |
| response_format | No | Response format: 'json' for structured data, 'markdown' for human-readable (default), 'markdown_concise' for brief summary (1-2 paragraphs), 'markdown_detailed' for full details with context | markdown |
| showRealNumbers | No | Show exact numbers instead of formatted (default: false). |