> ## Documentation Index
> Fetch the complete documentation index at: https://docs.the40thieves.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# update_base

> Patch a .base file's source/filters/properties/views/formulas.

Patch a .base file's source/filters/properties/views/formulas. Unknown keys are preserved. Changing `source` (deprecated alias) or the note-set-defining top-level `filters` requires confirmation.

| | |
| - | - |
| **Domain** | structured |
| **Scopes** | `write:bases` |
| **Access** | write |
| **Tags** | `writes`, `destructive`, `hitl`, `domain:structured` |
| **Profile** | full only |

## Annotations

| Annotation | Value |
| - | - |
| Read-only | no |
| Destructive | yes |
| Idempotent | no |
| Accepts an idempotency key | no |

`Idempotent` is the advisory MCP `idempotentHint`. `Destructive` is also `yes` for a tool that
asks for confirmation only on some calls.

## Confirmation (human in the loop)

The handler asks for confirmation only when a call crosses a boundary (for example an overwrite, a folder-boundary crossing or a bulk-cost floor); other calls need none.

* The confirmation binds to the vault paths the call names, which are also checked against the folder ACL.

## Input

| Parameter | Type | Required | Default | Description |
| - | - | - | - | - |
| `vault` | `string` | | — | Vault id. May be omitted when only one vault is available. length 1–64; pattern `^[a-z0-9_-]+$` |
| `path` | `string` | yes | — | length 1–1024 |
| `patch` | `object` | yes | — | — |
| `patch.source` | `any` | | — | — |
| `patch.add_views` | `Record<string, any>[]` | | — | — |
| `patch.remove_views` | `string[]` | | — | — |
| `patch.update_views` | `Record<string, Record<string, any>>` | | — | — |
| `patch.formulas` | `Record<string, any>` | | — | — |
| `patch.filters` | `any` | | — | — |
| `patch.properties` | `Record<string, any>` | | — | — |
| `prev_hash` | `string` | | — | — |
| `elicit_token` | `string` | | — | pattern `^[a-f0-9]{32}$` |

## Output

| Field | Type | Always present | Description |
| - | - | - | - |
| `vault` | `string` | yes | — |
| `path` | `string` | yes | — |
| `applied` | `object` | yes | — |
| `applied.views_added` | `integer` | yes | range ≥ -9007199254740991 |
| `applied.views_removed` | `integer` | yes | range ≥ -9007199254740991 |
| `applied.views_updated` | `integer` | yes | range ≥ -9007199254740991 |
| `applied.source_changed` | `boolean` | yes | — |
| `content_hash` | `string` | yes | — |
| `prev_hash` | `string` | yes | — |

## Related tools

Other tools in the `structured` domain: [`add_kanban_card`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/add_kanban_card/), [`create_base`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/create_base/), [`create_canvas`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/create_canvas/), [`create_excalidraw`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/create_excalidraw/), [`format_table`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/format_table/), [`insert_table_column`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/insert_table_column/), [`insert_table_row`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/insert_table_row/), [`list_kanban_boards`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/list_kanban_boards/), [`move_kanban_card`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/move_kanban_card/), [`query_base`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/query_base/), [`query_canvas`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/query_canvas/), [`read_base`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/read_base/), [`read_canvas`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/read_canvas/), [`read_excalidraw`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/read_excalidraw/), [`read_kanban_board`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/read_kanban_board/), [`sort_table_by_column`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/sort_table_by_column/), [`update_canvas`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/update_canvas/), [`update_excalidraw`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/update_excalidraw/).

Back to the [tool catalog](https://docs.the40thieves.dev/reliquary-tc/tools/tool-catalog.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.