notion_create_database
Create a new Notion database inline on a specified page. Define its properties and structure using a JSON schema.
Instructions
Create a new Notion database under a page.
parent_page_id: page to create the database under (it appears as an inline database on that page). title: database title. schema_json: JSON object mapping property names to their type config in Notion API format. A title property is required. Example: { "Name": {"title": {}}, "Status": {"select": {"options": [ {"name": "To Do", "color": "red"}, {"name": "Done", "color": "green"} ]}}, "Due Date": {"date": {}}, "Priority": {"number": {"format": "number"}}, "Tags": {"multi_select": {"options": [ {"name": "bug"}, {"name": "feature"} ]}}, "Assignee": {"people": {}}, "Done": {"checkbox": {}}, "Notes": {"rich_text": {}}, "Link": {"url": {}} }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| schema_json | Yes | ||
| parent_page_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |