Query Bike Rows
bike_query_rowsSearch for rows in Bike outlines using outline path syntax. Filter by type, text, or attributes like @done.
Instructions
Search for rows using Bike's outline path syntax.
Outline paths are powerful queries for filtering rows:
/project → Top-level rows containing "project"
//task → All rows of type "task" (anywhere)
//@done → Rows with @done attribute
//heading → All heading rows
/a/b → "b" rows inside "a" rows
/a union /b → Rows matching "a" OR "b"
/a intersect /b → Rows matching "a" AND "b"
Args:
outline_path (string, required): The outline path query.
Returns: Matching rows formatted as:
Row text [row:XXX]
Or scalar result (count, boolean, text) depending on the query.
Examples:
Find all tasks: bike_query_rows({ outline_path: "//task" })
Find headings: bike_query_rows({ outline_path: "//heading" })
Find by text: bike_query_rows({ outline_path: "//project" })
Find with attribute: bike_query_rows({ outline_path: "//@done" })
Errors:
"Bike is not running" - Open Bike app first
"No document is open" - Open a document first
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": {
"outline_path": "<outline_path>"
},
"name": "bike_query_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outline_path | Yes | Outline path query (e.g., '//task', '//@done', '//heading'). |