get_database
Retrieve a Notion database's schema to identify property names, types, and select/status options before querying or adding entries.
Instructions
Get a database's schema — property names, types, and select/status options. Call this before query_database or add_database_entry to know the exact property names and valid values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Alias accepted when database_id is absent. If the ID is a page containing exactly one inline database, it resolves to that database. Providing both database_id and page_id with different values is an error. | |
| database_id | No | Database ID |