Skip to main content
Query a Notion database with filters and sorts

Tool details

FieldValue
Namenotion__query_database
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "databaseId": {
      "type": "string",
      "description": "Notion database ID"
    },
    "filter": {
      "type": "object",
      "description": "Optional Notion database filter"
    },
    "sorts": {
      "type": "array",
      "description": "Optional Notion database sorts"
    },
    "page_size": {
      "type": "number",
      "description": "Maximum results to return"
    },
    "start_cursor": {
      "type": "string",
      "description": "Pagination cursor"
    }
  },
  "required": [
    "databaseId"
  ],
  "description": "Input schema for the notion__query_database tool."
}

Output schema

This tool does not publish an output schema.