Create Bike Document
bike_create_documentCreate a new document in Bike, optionally populated with an outline structure of headings, tasks, and formatted rows.
Instructions
Creates a new document in Bike, optionally with an outline structure.
Args:
structure (array, optional): Outline structure to populate the document. Each node can have:
name (string): Text content (may contain HTML if html=true)
type (string, optional): Row type (body, heading, task, code, quote, note, unordered, ordered, hr)
children (array, optional): Nested child nodes If not provided, creates an empty document.
html (boolean, optional): If true, name fields may contain HTML formatting: , , , , ,
Returns: Document info: "Untitled (doc:XXX)"
Examples:
Empty doc: bike_create_document({})
With structure: bike_create_document({ structure: [ { name: "Project", type: "heading", children: [ { name: "Task 1", type: "task" }, { name: "Task 2", type: "task" } ]} ] })
With HTML: bike_create_document({ structure: [{ name: "Click <a href="https://example.com">here" }], html: true })
Errors:
"Bike is not running" - Open Bike app first
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | If true, name fields may contain HTML formatting (strong, em, code, mark, s, a). | |
| structure | No | Outline structure to populate the document. Same format as bike_create_rows. |