> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Notion search

> Search the user's Notion workspace for pages and databases by TITLE. IMPORTANT: Notion's search only matches titles, NOT page content. To search content…

`notion_search`

Search the user's Notion workspace for pages and databases by TITLE. IMPORTANT: Notion's search only matches titles, NOT page content. To search content, use `notion_query_database` against a specific database. To read a page, use `notion_get_page`.

## Parameters

<ParamField path="query" type="string">
  Title search term. Empty string lists the most recently edited pages and databases.
</ParamField>

<ParamField path="filter" type="string, enum: 'page' | 'database' | 'any'" default={"any"}>
  Restrict results to pages, databases, or both.
</ParamField>

<ParamField path="limit" type="integer" default={20}>
  Minimum: 1. Maximum: 50.
</ParamField>
