roam_search_by_date
Search blocks and pages by creation or modification date to find content added or updated between specific dates. Options for scope and content inclusion refine results.
Instructions
Search for blocks or pages based on creation or modification dates. Not for daily pages with ordinal date titles.
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 |
|---|---|---|---|
| type | Yes | Whether to search by creation date, modification date, or both | |
| graph | No | Target graph key from ROAM_GRAPHS config. Defaults to ROAM_DEFAULT_GRAPH. Only needed in multi-graph mode. | |
| scope | Yes | Whether to search blocks, pages | |
| end_date | No | Optional: End date in ISO format (YYYY-MM-DD) | |
| write_key | No | Write confirmation key. Required for write operations on non-default graphs when write_key is configured. | |
| start_date | Yes | Start date in ISO format (YYYY-MM-DD) | |
| include_content | No | Whether to include the content of matching blocks/pages |