query_notion_database
Query a Notion database to return matching pages, with optional filter objects, sort criteria, and page size limits. Read-only, so no data is modified.
Instructions
Query a Notion database and return matching pages. Supports optional Notion filter objects and sort criteria. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database_id": "<database_id>"
},
"name": "query_notion_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sorts | No | Optional array of sort criteria. | |
| filters | No | Optional Notion filter object forwarded verbatim to the Notion API. Example: {"property":"Status","select":{"equals":"Done"}} | |
| page_size | No | Number of results to return (1–100, default 50). | |
| database_id | Yes | The Notion database ID to query (32-char hex or hyphenated UUID). |