Update Bike Rows
bike_update_rowUpdate one or more rows in a Bike outline by changing their text content, row type, or both. Supports batch updates and HTML formatting.
Instructions
Updates one or more rows' text content and/or type.
Args:
updates (array, required): Array of row updates. Each update has:
row_id (string, required): ID of the row to update
name (string, optional): New text content (may contain HTML if html=true)
type (string, optional): New row type (body, heading, quote, code, note, unordered, ordered, task, hr)
html (boolean, optional): If true, name contains HTML formatting: , , , , , NOTE: HTML updates recreate the row, so the row ID will change. Children are preserved. If you need the new ID, call bike_get_document_outline after.
Returns: Confirmation: "Updated N row(s)"
Examples:
Single update: bike_update_row({ updates: [{ row_id: "Kx9", name: "New text" }] })
Batch to task: bike_update_row({ updates: [ { row_id: "A1", type: "task" }, { row_id: "B2", type: "task" }, { row_id: "C3", type: "task" } ] })
Mixed: bike_update_row({ updates: [ { row_id: "X", name: "Title", type: "heading" }, { row_id: "Y", type: "task" } ] })
With HTML: bike_update_row({ updates: [ { row_id: "Z", name: "Important task", html: true } ] })
Errors:
"Bike is not running" - Open Bike app first
"No document is open" - Open a document first
"At least one of 'name' or 'type' must be provided" - Per row
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | Array of row updates. Each update has row_id (required), name (optional), type (optional), html (optional). |