update_data_source
Update a Notion database schema by renaming, adding, updating, or removing properties, changing the title, or moving to/from trash. Must resend full option lists for select/status fields.
Instructions
CRITICAL: full-list semantics. When you update a select or status property's options array, you MUST send the full desired list. Any existing option you omit will be permanently removed from the database, along with any relationship to rows currently using it. Rows that currently reference a removed option are silently reassigned to the default group's first option (for example "Not started" for status properties). No signal is raised. If you want to preserve the meaning of existing rows when removing an option, reclassify those rows to another explicit option before removing the option from the schema. To add one option, first call get_database, then resend the full current list with your addition appended.
Cannot toggle is_inline on existing databases. is_inline is a database-level field, not a data-source field. A separate update_database tool may be added later.
Updates a database's schema: rename properties, add or update property definitions, remove properties, change the title, or move it to/from trash. Use after get_database. Supports raw Notion payloads and schema helper payloads; read resource easy-notion://docs/update-data-source for modes, examples, status notes, and limitations. At least one of title, properties, or in_trash must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID | |
| title | No | New database title | |
| properties | No | Raw Notion property update map | |
| in_trash | No | True to trash, false to restore |