Roam Research

roam_create_outline

Create a structured outline in Roam from an array of outline items with explicit levels. Can be added under a specific page or block.

Input Schema

NameRequiredDescriptionDefault
block_text_uidNoA relevant title heading for the outline (or UID, if known) of the block under which outline content will be nested. If blank, content will be nested under the page title.
outlineYesArray of outline items with block text and level
page_title_uidNoTitle (or UID if known) of the page. Leave blank to use the default daily page

Input Schema (JSON Schema)

{ "properties": { "block_text_uid": { "description": "A relevant title heading for the outline (or UID, if known) of the block under which outline content will be nested. If blank, content will be nested under the page title.", "type": "string" }, "outline": { "description": "Array of outline items with block text and level", "items": { "properties": { "level": { "description": "Indentation level (1-5, where 1 is top level)", "type": "integer" }, "text": { "description": "Content of the block", "type": "string" } }, "required": [ "text", "level" ], "type": "object" }, "type": "array" }, "page_title_uid": { "description": "Title (or UID if known) of the page. Leave blank to use the default daily page", "type": "string" } }, "required": [ "outline" ], "type": "object" }