notion_query_database
Retrieve targeted rows from a Notion database by applying filters and sorting to get only the records you need.
Instructions
Query rows in a Notion database with filters and sorts.
Args: database_id (required): Notion database ID. filter_json: Notion filter object as a JSON string. sorts_json: Notion sorts array as a JSON string. page_size: project_id: Authenticated Project UUID. project_ref: Exact project correlation reference. connector_account_ref: Project-bound connector account alias. idempotency_key: Stable business-action identity. effect: Required and must be read; Spring verifies it. approval_ref: Approved platform task UUID when resuming a write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | Yes | ||
| page_size | No | ||
| project_id | No | ||
| sorts_json | No | ||
| database_id | No | ||
| filter_json | No | ||
| project_ref | No | ||
| approval_ref | No | ||
| idempotency_key | No | ||
| connector_account_ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |