roam_search_by_status
Search for blocks marked TODO or DONE across a Roam Research graph or a specific page. Use include and exclude terms to filter results by content or page title.
Instructions
Search for blocks with a specific status (TODO/DONE) across all pages or within a specific page.
IMPORTANT: call roam_get_guidelines for this graph once per session before using this tool, reads included — conventions change how results are read, not just written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | No | Target graph key from ROAM_GRAPHS config. Defaults to ROAM_DEFAULT_GRAPH. Only needed in multi-graph mode. | |
| status | Yes | Status to search for (TODO or DONE) | |
| exclude | No | Optional: Comma-separated list of terms to filter results by exclusion (matches content or page title) | |
| include | No | Optional: Comma-separated list of terms to filter results by inclusion (matches content or page title) | |
| write_key | No | Write confirmation key. Required for write operations on non-default graphs when write_key is configured. | |
| 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. |