Query data source
query_data_sourceQuery Notion data sources with compound filters, sorting, and pagination to retrieve specific records.
Instructions
Query a Notion data source with compound filters, sorts, and pagination.
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": {
"dataSourceId": "<dataSourceId>"
},
"name": "query_data_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sorts | No | ||
| filter | No | ||
| pageSize | No | ||
| startCursor | No | ||
| dataSourceId | Yes | ||
| filterProperties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | No | ||
| data | No | ||
| error | No | ||
| status | No |