notion_update_database
Update a Notion database's title, description, or property schema. Add, remove, rename properties, change types, and add select options in one call.
Instructions
Update a Notion database's title, description, or property schema.
database_id: the database to update. title: new database title (leave empty to keep current). description: new description (leave empty to keep current). properties_json: JSON object of property changes. Notion API format:
Add property: {"New Column": {"rich_text": {}}}
Remove property: {"Old Column": null}
Rename property: {"Old Column": {"name": "New Column"}}
Change type: {"Column": {"number": {"format": "percent"}}}
Add select opts: {"Status": {"select": {"options": [ {"name": "New Option", "color": "blue"} ]}}}
Multiple changes can be combined in one call. Use notion_describe_database first to see current schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| database_id | Yes | ||
| description | No | ||
| properties_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |