bodyobject · optionalBounded request body sent to the connected application.
Loading tools…
Notion
Query a Notion data source with filters, sorts and paging.
Queries pages from a Notion data source with optional filter and sorts. Billed per upstream request at $0.0025; one page (up to 100 rows) is one request.
Agents select this operation with tool ID notion.data-source-query, then check its current inputs and price before a run.
bodyobject · optionalBounded request body sent to the connected application.
max_pagesinteger · optionalMaximum number of result pages to request.
minimum: 1 · maximum: 10
pathobject · requiredIdentifier path for the authorised connected-app record.
pagesnumberReturned pages value.
resultsarrayReturned results value.
Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.
{
"tool_id": "notion.data-source-query",
"input": {
"body": {
"filter": {
"title": {
"equals": "Launch readiness brief"
},
"property": "Name"
},
"page_size": 1
},
"path": {
"data_source_id": "YOUR-NOTION-DATA-SOURCE-ID"
},
"max_pages": 1
}
}{
"pages": 1,
"results": [
{
"id": "1b2c3d4e-0000-4000-8000-000000000002",
"url": "https://app.notion.com/p/1b2c3d4e000040008000000000000002",
"object": "page",
"properties": {
"Name": {
"type": "title",
"title": [
{
"type": "text",
"plain_text": "Launch readiness brief"
}
]
},
"Status": {
"type": "rich_text",
"rich_text": [
{
"type": "text",
"plain_text": "Draft"
}
]
}
},
"is_archived": false
}
]
}invalid_input: missing path parameter "data_source_id" for endpoint /v1/data_sources/{data_source_id}/querySearch for a data_source first, then pass its id: {"path":{"data_source_id":"a1b2c3d4"},"body":{"page_size":100},"max_pages":1}Connect your app account to let your agent use its tools. Your credentials stay private, and you pay only for successful runs.
Connect your first agent to receive $1 trial credit.