Get Bike Document Outline
bike_get_document_outlineRetrieve the hierarchical outline of the open Bike document, including row IDs and text content. Optionally limit the depth of the returned tree.
Instructions
Retrieves the complete outline structure of the currently open Bike document.
Returns a hierarchical tree of rows with their IDs, text content, and children. Bike must be running with a document open for this tool to work.
Args:
max_depth (number, optional): Maximum depth of the outline tree to return. If not specified, returns the complete tree.
Returns: Human-readable indented outline with IDs:
Document Name (doc:root-id)
First item [row:Kx9]
Sub-item 1 [row:Lm2]
Sub-item 2 [row:Np4]
Second item [row:Qr7]
Examples:
Get full outline: bike_get_document_outline({})
Get only 2 levels deep: bike_get_document_outline({ max_depth: 2 })
Errors:
"Bike is not running" - Open Bike app first
"No document is open" - Open a document in Bike first
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Maximum depth of the outline tree to return. If not specified, returns the full tree. |