Roam Research

roam_import_markdown

Import nested markdown content into Roam under a specific block. Can locate the parent block by UID or by exact string match within a specific page.

Input Schema

NameRequiredDescriptionDefault
contentYesNested markdown content to import
orderNoOptional: Where to add the content under the parent ("first" or "last")first
page_titleNoOptional: Title of the page containing the parent block (ignored if page_uid provided)
page_uidNoOptional: UID of the page containing the parent block
parent_stringNoOptional: Exact string content of the parent block to add content under (must provide either page_uid or page_title)
parent_uidNoOptional: UID of the parent block to add content under

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Nested markdown content to import", "type": "string" }, "order": { "default": "first", "description": "Optional: Where to add the content under the parent (\"first\" or \"last\")", "enum": [ "first", "last" ], "type": "string" }, "page_title": { "description": "Optional: Title of the page containing the parent block (ignored if page_uid provided)", "type": "string" }, "page_uid": { "description": "Optional: UID of the page containing the parent block", "type": "string" }, "parent_string": { "description": "Optional: Exact string content of the parent block to add content under (must provide either page_uid or page_title)", "type": "string" }, "parent_uid": { "description": "Optional: UID of the parent block to add content under", "type": "string" } }, "required": [ "content" ], "type": "object" }