API-post-database-query
Query a Notion database with filters, sorts, and pagination to retrieve matching pages as slim Markdown for MCP workflows.
Instructions
Notion | Query a database
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": "API-post-database-query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sorts | No | Sort criteria. | |
| filter | No | Filter conditions. | |
| archived | No | ||
| in_trash | No | ||
| page_size | No | ||
| database_id | Yes | Identifier for a Notion database. | |
| start_cursor | No | ||
| filter_properties | No |