roam_search_block_refs
Search for block references within a page or across the entire graph by block UID, page title, or list all references.
Instructions
Search for block references within a page or across the entire graph. Can search for references to a specific block, a page title, or find all block references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_uid | No | Optional: UID of the block to find references to (searches for ((uid)) patterns in text) | |
| title | No | Optional: Page title to find references to (uses :block/refs for [[page]] and #tag links) | |
| page_title_uid | No | Optional: Title or UID of the page to search in (UID is preferred for accuracy). If not provided, searches across all pages. | |
| graph | No | Target graph key from ROAM_GRAPHS config. Defaults to ROAM_DEFAULT_GRAPH. Only needed in multi-graph mode. | |
| write_key | No | Write confirmation key. Required for write operations on non-default graphs when write_key is configured. |