API-post-search
Search Notion pages and databases by title, filter results by object type, and sort by last edited time using the Notion MCP Server API.
Instructions
Notion | Search by title
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "API-post-search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | A set of criteria, `value` and `property` keys, that limits the results to either only pages or only databases. Possible `value` values are `"page"` or `"database"`. The only supported `property` value is `"object"`. | |
| page_size | No | The number of items from the full list to include in the response. Maximum: `100`. | |
| query | No | The text that the API compares page and database titles against. | |
| sort | No | A set of criteria, `direction` and `timestamp` keys, that orders the results. The **only** supported timestamp value is `"last_edited_time"`. Supported `direction` values are `"ascending"` and `"descending"`. If `sort` is not provided, then the most recently edited results are returned first. | |
| start_cursor | No | A `cursor` value returned in a previous response that If supplied, limits the response to results starting after the `cursor`. If not supplied, then the first page of results is returned. Refer to [pagination](https://developers.notion.com/reference/intro#pagination) for more details. |