notion_query_database
Query Notion database pages with filters, sorts, and pagination to retrieve only matching records.
Instructions
Query database pages
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": "notion_query_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sorts | No | Array of sort objects | |
| filter | No | Filter object to apply | |
| page_size | No | Number of results per page (max 100) | |
| database_id | Yes | Database ID to query | |
| start_cursor | No | Pagination cursor |