queryNotionDatabase
Retrieve and filter Notion database items by ID, using optional sorting, filters, and page size to get targeted results.
Instructions
Retrieves and filters items from a specified Notion 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": {
"databaseId": "<databaseId>"
},
"name": "queryNotionDatabase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sorts | No | Optional sorting criteria | |
| filter | No | Optional filter criteria | |
| pageSize | No | Number of results to return (max 100) | |
| databaseId | Yes | ID of the database to query |