---
canonical_url: "https://docs.composio.dev/toolkits/nocodb_mcp"
markdown_url: "https://docs.composio.dev/toolkits/nocodb_mcp.md"
product: "platform"
version: null
last_updated: null
---

# NocoDB MCP

Manage NocoDB bases, tables, fields, views, records, automations, interfaces, documents and agents through NocoDB's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 237
- **Triggers:** 0
- **Slug:** `NOCODB_MCP`
- **Version:** 20261129_00

## Tools

### Add agent repo

**Slug:** `NOCODB_MCP_ADD_AGENT_REPO`

Add a GitHub repository to a coding agent. The agent's first repo becomes its default and starts a setup session that installs the project and proposes a machine.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Coding agent ID |
| `provider_repo_id` | string | Yes | `providerRepoId` from listAvailableRepos |
| `fk_integration_id` | string | Yes | GitHub connection ID |

### Add base members

**Slug:** `NOCODB_MCP_ADD_BASE_MEMBERS`

Give people a role on this base by email. Unknown emails are invited (an email is sent) and join the workspace with no workspace access. You cannot grant a role above your own. You cannot lower your own access over MCP. An explicit base role beats every inherited one — it is read first and wins outright, it is not compared by rank — so setting a workspace creator to viewer here really makes them a viewer on this base. Returns each member as listBaseMembers reports them.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `emails` | array | Yes | Up to 10 emails. An unknown email gets an invitation mail, and each email counts against this connection's daily invite budget. |
| `base_role` | string ("owner" | "creator" | "editor" | "commenter" | "viewer") | Yes | Role to grant |
| `idempotency_key` | string | No | Optional key that makes a retry safe: repeating a call with the same key within an hour returns the original result instead of inviting again. |

### Add base team

**Slug:** `NOCODB_MCP_ADD_BASE_TEAM`

Give a team a role on this base. Team ids come from listWorkspaceTeams. A team role beats the workspace role and the private-base default for every member without an explicit base role. You cannot grant above your own role. You cannot lower your own access over MCP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Team id, from listWorkspaceTeams |
| `title` | string | No | Read-only, returned by listWorkspaceTeams. Accepted so its output can be sent back, and ignored. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_role` | string ("creator" | "editor" | "commenter" | "viewer" | "no-access") | Yes | Role to grant the team |
| `members_count` | string | No | Read-only, returned by listWorkspaceTeams. Accepted so its output can be sent back, and ignored. |

### Add field options

**Slug:** `NOCODB_MCP_ADD_FIELD_OPTIONS`

Add select options (choices) to a single/multi select field

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `choices` | array | Yes | Choices to add, e.g. [{ "title": "Open" }] |
| `fieldId` | string | Yes | Field/column ID |

### Add row color condition

**Slug:** `NOCODB_MCP_ADD_ROW_COLOR_CONDITION`

Add a colour rule to a view. Rules are evaluated in `order` and the first match wins, so put the most specific first. Refuses if the view is on select-field colouring — call clearRowColoring first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `color` | string | Yes | Row/cell colour as hex, e.g. "#FF4A3F" |
| `order` | integer | No | Evaluation position, 1-based. Defaults to the end of the list |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `condition` | string | Yes | What the row must match: either { field_id, operator, value } or { group_operator: "AND"&#124;"OR", filters: [...] } with groups nestable |
| `target_field_id` | string | No | Colour only this one cell rather than the whole row. Needs the cell-colour plan feature |
| `set_as_background` | boolean | No | true tints the whole row background; false (default) shows the colour as a stripe on the left edge |

### Add sort

**Slug:** `NOCODB_MCP_ADD_SORT`

Add a sort to a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `field_id` | string | Yes | Field/column ID or exact title to sort by |
| `order_by` | string ("alphabetical" | "option_order") | No | SingleSelect only: 'option_order' sorts by the field's option order instead of alphabetically (default: alphabetical) |
| `direction` | string ("asc" | "desc") | No | Sort direction (default: asc) |

### Add workflow node

**Slug:** `NOCODB_MCP_ADD_WORKFLOW_NODE`

Add one node to an automation's draft. Edits one node of the draft in place, so you do not have to send the whole graph. The read-mutate-write is done server-side, which keeps the last-write-wins window against a human editing in the UI down to this one request. Use updateWorkflow instead for bulk authoring or fan-out/merge topologies. The node lands unconnected — wire it with connectWorkflowNodes. `validate` is only usable on a trigger here, because an unconnected node has nothing feeding it; test every other node from connectWorkflowNodes or validateWorkflowNode once it is wired.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `node` | object | Yes |  |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `validate` | boolean | No | Test the node afterwards and store the result the way the UI does. The test is a check, not a run: the node does not perform its action — a create-record node writes no row, a messaging node posts nothing. It resolves the node's config against the upstream results and checks it with read-only calls (does the table have every field set, does a GET endpoint answer), and the result is marked `simulated: true`. A missing expression path is not caught — it resolves to empty, so read `input` in the result. A node that can only be checked by running it (a script, a node that declares no outputs) comes back failed with `needsRun: true` and a `nextStep`; it cannot be run over MCP. Static checks run either way. A node can only be tested once every node upstream of it has been tested, so work in order from the trigger. The edit itself is never rolled back by a test: if the test cannot run or fails, the edit stands and the reason comes back as `testError` instead of `testResult`. |
| `workflowId` | string | Yes | Automation ID |

### Aggregate

**Slug:** `NOCODB_MCP_AGGREGATE`

Perform aggregations (sum, count, avg, etc.) on table data, optionally split across filter groups (each `filterGroups` entry produces its own result, keyed by its alias). Omit `filterGroups` to aggregate the whole table (or view) once, keyed "all". This does not group-by a field. Each `field` may be a field id or its exact title. Result keys are field titles: one aggregation on a field keys by the bare title ("Amount"), two or more on the same field key as "<title>__<type>" ("Amount__sum") so they do not collide; a repeated field+type pair is computed once. Read a value as result[title] ?? result[`${title}__${type}`].

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | No | Optional view ID to use view-specific configurations — the view filters, sorts and field visibility are applied. Obtain one from getTableSchema. |
| `tableId` | string | Yes | Table ID |
| `aggregations` | array | Yes | Aggregations to perform — at least one |
| `filterGroups` | array | No | Filter groups, each producing its own result under its alias. Omit (or pass []) for one unfiltered result keyed "all" |

### Build interface page config from view

**Slug:** `NOCODB_MCP_BUILD_INTERFACE_PAGE_CONFIG_FROM_VIEW`

Build a page config seeded from an existing table view — returns a complete `config` to pass to createInterfacePage or updateInterfacePage. Keys the view cannot supply are defaulted (a kanban's stacking field, a calendar/timeline/gantt date anchor: the first eligible column, or blank when the table has none) — check them before you save. Writes nothing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `layout` | string ("table" | "record_review" | "dashboard" | "form" | "overview" | "record_detail" | "custom") | Yes | Target page layout. Only table and record_review can be seeded from a view; other layouts are rejected. |
| `settings` | array | Yes | Which view settings to copy across |
| `fk_model_id` | string | Yes | Source table ID |
| `sourceViewId` | string | Yes | View to seed the config from |
| `visualization` | string ("grid" | "gallery" | "kanban" | "list" | "calendar" | "timeline" | "gantt") | No | Target visualization type (table layouts) |

### Clear interface page draft

**Slug:** `NOCODB_MCP_CLEAR_INTERFACE_PAGE_DRAFT`

Revert a page's draft config to its last published state. Works only on pages a human has already published in the UI. Returns the reverted page. A page carries `password_protected` (boolean), not `password`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | Yes | Interface page ID |

### Clear row coloring

**Slug:** `NOCODB_MCP_CLEAR_ROW_COLORING`

Turn row colouring off for a view, dropping every condition. Also the way to switch a view from one colouring mode to the other.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |

### Connect workflow nodes

**Slug:** `NOCODB_MCP_CONNECT_WORKFLOW_NODES`

Add one edge to an automation's draft. Edits one node of the draft in place, so you do not have to send the whole graph. The read-mutate-write is done server-side, which keeps the last-write-wins window against a human editing in the UI down to this one request. Use updateWorkflow instead for bulk authoring or fan-out/merge topologies. A node with a single output port takes exactly one outgoing edge; a branching node (more than one output port, e.g. core.flow.if) needs sourcePortId on every outgoing edge. Wiring a node changes what feeds it, so its test result and everything downstream is cleared.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `label` | string | No |  |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `source` | string | Yes | Source node id |
| `target` | string | Yes | Target node id |
| `validate` | boolean | No | Test the node afterwards and store the result the way the UI does. The test is a check, not a run: the node does not perform its action — a create-record node writes no row, a messaging node posts nothing. It resolves the node's config against the upstream results and checks it with read-only calls (does the table have every field set, does a GET endpoint answer), and the result is marked `simulated: true`. A missing expression path is not caught — it resolves to empty, so read `input` in the result. A node that can only be checked by running it (a script, a node that declares no outputs) comes back failed with `needsRun: true` and a `nextStep`; it cannot be run over MCP. Static checks run either way. A node can only be tested once every node upstream of it has been tested, so work in order from the trigger. The edit itself is never rolled back by a test: if the test cannot run or fails, the edit stands and the reason comes back as `testError` instead of `testResult`. |
| `workflowId` | string | Yes | Automation ID |
| `sourcePortId` | string | No | Required on every outgoing edge of a branching node |
| `targetPortId` | string | No |  |

### Count records

**Slug:** `NOCODB_MCP_COUNT_RECORDS`

Count Records in a Table

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `where` | string | No | Filter records using NocoDB query syntax, e.g. (status,eq,active)~and(amount,gte,100).  For the complete operator list, date sub-operators, quoting rules and examples, see the `where` parameter of the `queryRecords` tool — the syntax is identical. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `filter` | string | No | Structured filter — the same shape as createFilter: a single condition { field, operator, value }, or a group { group_operator: "AND"&#124;"OR", filters: [...] } whose members may themselves be groups. Field names and values are quoted for you, so commas, parentheses and quotes in either are safe. Prefer this over `where`; pass only one of the two. |
| `viewId` | string | No | Optional view ID to use view-specific configurations — the view filters, sorts and field visibility are applied. Obtain one from getTableSchema. |
| `tableId` | string | Yes | Table ID |

### Create agent

**Slug:** `NOCODB_MCP_CREATE_AGENT`

Create an agent in a base. Instructions are seeded with the platform default when omitted. A coding agent created here has no repo or machine yet: launchCodingAgent creates one ready to run, or add repos with addAgentRepo.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `role` | string | No | Base role the agent acts as; bounds every tool it can reach |
| `scope` | string ("personal" | "shared") | No | personal: works as the user, private; shared: own identity, everyone in the project. Defaults to shared for Creators and above, personal below. A personal agent takes `config.role_cap`, not `role`. |
| `title` | string | Yes | Agent name |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | object | No |  |
| `enabled` | boolean | No | false creates it switched off: its triggers do not run |
| `description` | string | No | What this agent is for |

### Create agent channel

**Slug:** `NOCODB_MCP_CREATE_AGENT_CHANNEL`

Connect an agent to a channel (Telegram, Slack, …) through a channel integration of the workspace, so people can message it there.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | Channel name |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |
| `settings` | object | No |  |
| `fk_integration_id` | string | Yes | Channel integration ID |

### Create automation folder

**Slug:** `NOCODB_MCP_CREATE_AUTOMATION_FOLDER`

Create an automation folder in the current base.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | Order among the base sidebar |
| `title` | string | Yes | Folder title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### Create base

**Slug:** `NOCODB_MCP_CREATE_BASE`

Create a base in a workspace. Returns the base id — pass it to the table, view and record tools to build inside it. This connection can always reach a base it created, whatever its scopes cover.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Base title |
| `description` | string | No | Base description |
| `workspaceId` | string | Yes | Workspace ID to create the base in |
| `idempotency_key` | string | No | Optional key that makes a retry safe: repeating a call with the same key within an hour returns the original result instead of provisioning again. |

### Create comment

**Slug:** `NOCODB_MCP_CREATE_COMMENT`

Add a comment to a record

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `comment` | string | Yes | Comment text |
| `tableId` | string | Yes | Table ID |
| `recordId` | string | Yes | Record ID |

### Create dashboard

**Slug:** `NOCODB_MCP_CREATE_DASHBOARD`

Create a new dashboard in a base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Dashboard title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `description` | string | No | Dashboard description |

### Create document

**Slug:** `NOCODB_MCP_CREATE_DOCUMENT`

Create a document page in the base, optionally nested under another page. Markdown is GFM: tables, task lists (`- [ ]`) and `~~strikethrough~~` work; strikethrough reads back as `~text~`, so match that in `oldStr`. Headings, lists, quotes, code blocks, links, images, bold/italic/code, `::: callout note|warning|tip|important` and `::: columns {ratio=50}` with two `::: column` bodies all work.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Page title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `parentId` | string | No | Parent document ID. Omit for a root-level page |
| `contentMarkdown` | string | No | Page content as Markdown. Omit for an empty page |

### Create document comment

**Slug:** `NOCODB_MCP_CREATE_DOCUMENT_COMMENT`

Add a comment to a document page, or reply to one with `parentCommentId`. Threads are one level deep: a reply to a reply joins the top-level thread.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `comment` | string | Yes | Comment text |
| `documentId` | string | Yes | Document ID — from listDocuments |
| `parentCommentId` | string | No | Comment ID to reply to, from listDocumentComments |

### Create field

**Slug:** `NOCODB_MCP_CREATE_FIELD`

Add a new field (column) to a table

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `field` | object | Yes | Field definition (title, type and type-specific options). |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |

### Create filter

**Slug:** `NOCODB_MCP_CREATE_FILTER`

Create a filter (or filter group) on a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `filter` | string | Yes | Filter definition. A filter group has the shape { group_operator: "AND"&#124;"OR", filters: [{ field_id, operator, value }, ...] } and groups may be nested inside `filters`. |
| `viewId` | string | Yes | View ID |

### Create folder

**Slug:** `NOCODB_MCP_CREATE_FOLDER`

Create a new folder in the current base to group tables, documents and dashboards in the sidebar.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | Position in the shared sidebar sequence folders and unfoldered tables, documents and dashboards share |
| `title` | string | Yes | Folder title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `sourceId` | string | No | Owning source; defaults to the base default source |

### Create hook

**Slug:** `NOCODB_MCP_CREATE_HOOK`

Create a webhook on a table

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `event` | string ("record" | "manual") | No | Event trigger type (default: record) |
| `title` | string | Yes | Webhook title |
| `active` | boolean | No | Whether the webhook is active |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `operation` | array | Yes | Operations that trigger the webhook |
| `description` | string | No | Webhook description |
| `notification` | object | No | Notification target, e.g. { "type": "URL", "payload": { "method": "POST", "path": "https://example.com/hook" } }. Cloud accepts only type "URL" or "Script"; to send an email on record events, use a workflow with a send-email node. |
| `trigger_fields` | array | No | Field IDs that scope the webhook: it fires only when one of these columns changes. Requires operation to include "update" and event "record" — any other combination is rejected, since the dispatch filter would never consult it. |

### Create interface

**Slug:** `NOCODB_MCP_CREATE_INTERFACE`

Create a new interface in the current base. Writes only touch the draft; publishInterface makes it live. Unpublishing and sharing a page publicly are deliberately not exposed — a human does those in the UI.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `meta` | object | No | Appearance meta — JSON object: { icon?, color?, theme?: { accent?, style? }, restrict_sharing? }. |
| `title` | string | Yes | Interface title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `hidden` | boolean | No | Hide the interface from the navigation |
| `description` | string | No | Interface description |

### Create interface page

**Slug:** `NOCODB_MCP_CREATE_INTERFACE_PAGE`

Create a new page on an interface. Call getInterfaceAuthoringInstructions first if you are authoring a config. On a table page, filters go in `config.filters` and apply to every visualization; a `visualizations[*].filters` is ANDed into `config.filters` on save. Writes only touch the draft; publishInterface makes it live. Unpublishing and sharing a page publicly are deliberately not exposed — a human does those in the UI. A page carries `password_protected` (boolean), not `password`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `meta` | object | No | Appearance meta — JSON object: { icon?, color?, theme?: { accent?, style? }, restrict_sharing? }. |
| `title` | string | Yes | Page title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | object | No | Layout-specific JSON config (draft). Its shape depends on the page layout and is keyed by column/view/page IDs. Do not guess its keys — call getInterfacePageConfigSchema(layout) for the exact JSON Schema this config is validated against, getInterfaceAuthoringInstructions for the authoring model, and getInterfacePageMeta to discover the column IDs of the source table. |
| `layout` | string ("table" | "record_review" | "dashboard" | "form" | "overview" | "record_detail" | "custom") | Yes | Page layout: table, record_review, dashboard, form, overview, record_detail, or custom. Immutable after creation. |
| `fk_model_id` | string | No | Source table ID (required for all layouts except overview) |
| `show_in_nav` | boolean | No | Show the page in the interface navigation |
| `visual_variant` | string ("page" | "modal" | "sidesheet") | No | Render variant: page, modal or sidesheet |
| `fk_interface_id` | string | Yes | Parent interface ID |

### Create records

**Slug:** `NOCODB_MCP_CREATE_RECORDS`

Create records in a table. Up to 100 per call. A link field takes primary keys (bare or `{ id }`), never titles. A one-to-one or has-many target already linked elsewhere is moved, and its previous link is removed without a warning.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `records` | array | Yes | Array of records with fields as key-value pairs. At most 100 per call — a longer array is rejected outright, so split larger writes into batches. |
| `tableId` | string | Yes | Table ID |
| `returnFields` | string | No | Fields to return for each record — an array of field names or ids, or a comma-separated list. Omit to get every field; pass only what you need to keep large writes readable. |

### Create record from template

**Slug:** `NOCODB_MCP_CREATE_RECORD_FROM_TEMPLATE`

Create a record from a saved template. This is not one record: the payload may carry `linked_records` in 'create_new' mode, and each of those creates a record in the linked table and links it, up to 3 levels deep. A link whose field no longer resolves is skipped without an error, so read the record back if the links matter. Returns the new top-level record id.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | object | No | Top-level field values that replace the template's for this record only, keyed like createRecords. The template is unchanged. Link fields come from the template's linked_records and cannot be set here. |
| `tableId` | string | No | Table the template belongs to. Optional — defaults to the template's own table, and any other table is refused |
| `templateId` | string | Yes | Template ID — from listRecordTemplates |

### Create record template

**Slug:** `NOCODB_MCP_CREATE_RECORD_TEMPLATE`

Save a starter record for a table. Titles are unique per table, and the payload is capped at 256 KB. Creating a template writes no records — `createRecordFromTemplate` does that.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Template title, unique within the table |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table the template belongs to |
| `description` | string | No | What the template is for |
| `template_data` | object | Yes | The record this template writes |

### Create rls policy

**Slug:** `NOCODB_MCP_CREATE_RLS_POLICY`

Create a row-level security policy. A scoped policy grants its subjects the rows matching its conditions. A table may also have one default policy (isDefault) that covers everyone else and takes no subjects

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | Policy title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `subjects` | array | No | Users/teams/roles/agents the policy applies to. Must be omitted when isDefault is set. A scoped policy with no subjects matches no one and grants nothing, so pass them here or follow up with setRlsPolicySubjects |
| `isDefault` | boolean | No | Create the table's single default (everyone) policy. Fails if one already exists |
| `conditions` | array | No | Conditions selecting the visible rows. Conditions may only reference columns of this table — there is no traversal through a link field, so a child table stays unprotected unless the value it must be filtered on is denormalised onto it. The list is flat; nested condition groups cannot be expressed. A policy with no conditions grants every row only when it is the sole policy matching a user; matched alongside any other policy it is skipped and widens nothing. Give a policy explicit conditions unless you have confirmed it stands alone. |
| `defaultBehavior` | string ("show_all" | "deny_all" | "condition") | No | Only with isDefault (default "show_all"). Must be "condition" for the policy to evaluate `conditions` at all |

### Create script

**Slug:** `NOCODB_MCP_CREATE_SCRIPT`

Create a new NocoDB script. Call getScriptAuthoringInstructions first if you are writing the source.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `meta` | object | No | Script meta |
| `title` | string | Yes | Script title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | object | No | Saved input values, keyed by the keys the source declares through input.config.*. Not the form definition — that is parsed from the source |
| `script` | string | No | Script source code (plain JavaScript for the NocoDB script runtime). Call getScriptAuthoringInstructions first — the runtime has several silent-failure modes |
| `description` | string | No | Script description |

### Create table

**Slug:** `NOCODB_MCP_CREATE_TABLE`

Create a new table in a base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Table title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | array | No | Field definitions to create with the table (each needs a title and type). |
| `source_id` | string | No | Optional data source ID for external sources |
| `description` | string | No | Table description |

### Create view

**Slug:** `NOCODB_MCP_CREATE_VIEW`

Create a new view on a table. A gallery/kanban view answers with `options.cover_field_id`, the key these tools accept back.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string ("grid" | "gallery" | "form" | "kanban" | "calendar" | "map" | "gantt" | "timeline" | "list") | Yes | View type |
| `title` | string | Yes | View title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | array | No | Complete ordered field list. Array order sets the field order; every field omitted is hidden. The display-value field is pinned visible on every view type except form, so its position in the array is not applied: skip it when comparing `getView` to what you sent. An empty array hides every field except the display-value field (on a form it hides that too). Read the current list from `getView`. |
| `options` | object | No | View-type-specific options. kanban stacks by the first SingleSelect field unless stack_by is given (a field id or { field_id }); calendar and timeline require date_ranges |
| `tableId` | string | Yes | Table ID |
| `lock_type` | string ("collaborative" | "locked" | "personal") | No | View mode: collaborative (anyone with access may edit), personal (only the owner sees their config) or locked (config is read-only for editors and below; creators and owners can still change or delete it) |

### Create view folder

**Slug:** `NOCODB_MCP_CREATE_VIEW_FOLDER`

Create a view folder in a table. New folders always append to the folder tier, so order cannot be set here.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Folder title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |

### Create widget

**Slug:** `NOCODB_MCP_CREATE_WIDGET`

Create a new widget on a dashboard. `options` must match `type` and is refused if the widget could only render nothing — a chart with no data block, a summary metric with no field, an iframe with no url, a field_id the table does not have, an aggregation the column cannot take. Read getWidgetConfigSchema(type) first rather than guessing; chart_type is limited to pie/donut/bar/line here. A chart or metric also needs table_id.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string ("chart" | "metric" | "text" | "iframe") | Yes | Widget type |
| `title` | string | Yes | Widget title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `options` | object | No | Widget configuration, in the v3 snake_case dialect (`chart_type`, `field_id`, `data_source`) — NOT the camelCase spelling interface pages store. Shape depends on `type`: chart → `chart_type` plus the `data` block that chart type needs; metric → `metric.type` and `metric.aggregation`; text → `content`; iframe → `url`. Creatable chart_type: pie, donut, bar, line. Call getWidgetConfigSchema(type) for the exact JSON Schema. |
| `view_id` | string | No | Source view ID — required when data_source is 'view' |
| `position` | object | No | Position on the dashboard grid, which is 4 columns wide (NOT 12) — x + w must not exceed 4. Per-type resize bounds: metric: w 1-4, h 2-6; chart: w 2-2, h 5-6; text: w 2-4, h from 1; iframe: w 2-4, h 5-12. Omit to have the widget appended below the existing ones. |
| `table_id` | string | No | Source table ID — required for chart and metric widgets |
| `dashboardId` | string | Yes | Dashboard ID |
| `description` | string | No | Widget description |

### Create workflow

**Slug:** `NOCODB_MCP_CREATE_WORKFLOW`

Create an automation. Only the draft is writable. Testing one node is exposed (the `validate` flag, and validateWorkflowNode), and publishWorkflow puts the tested draft live. Enabling and run_as are deliberately not exposed — a human sets those in the UI. Call getWorkflowAuthoringInstructions first if you are writing a draft.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `draft` | object | No | The whole draft graph, replacing whatever is stored. Writes replace the whole draft graph, so always getWorkflow first, mutate the graph it returns, then send it back — and note it is last-write-wins against anyone editing the same automation in the UI. Publishing clears `draft`, so read `draft` when it is set and fall back to `nodes`/`edges` otherwise. `data.testResult` is ignored on write; results are carried forward for every node you leave untouched. To edit one node instead of the whole graph, use addWorkflowNode / updateWorkflowNode / deleteWorkflowNode and connectWorkflowNodes / disconnectWorkflowNodes. |
| `title` | string | Yes | Automation title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `description` | string | No | Automation description |

### Delete agent

**Slug:** `NOCODB_MCP_DELETE_AGENT`

Move an agent to the base trash

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |

### Delete agent channel

**Slug:** `NOCODB_MCP_DELETE_AGENT_CHANNEL`

Disconnect an agent from a channel. The integration itself stays.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |
| `channelId` | string | Yes | Channel ID, from getAgent |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete automation folder

**Slug:** `NOCODB_MCP_DELETE_AUTOMATION_FOLDER`

Delete an automation folder. The workflows and scripts inside are spread back across the gap it leaves and returned with their new orders (folders are interleaved with loose automations).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `folderId` | string | Yes | Automation folder ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete comment

**Slug:** `NOCODB_MCP_DELETE_COMMENT`

Delete a comment

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `commentId` | string | Yes | Comment ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete dashboard

**Slug:** `NOCODB_MCP_DELETE_DASHBOARD`

Delete a dashboard

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `dashboardId` | string | Yes | Dashboard ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete date dependency

**Slug:** `NOCODB_MCP_DELETE_DATE_DEPENDENCY`

Delete a table's date dependency rule, or one Gantt view's. Dates already stored on records are left as they are — only the rule that moves them goes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `ganttViewId` | string | No | Delete this Gantt view's rule instead of the table default |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete document

**Slug:** `NOCODB_MCP_DELETE_DOCUMENT`

Delete a document page. Every sub-page under it is deleted with it, along with the page comments. The response reports how many sub-pages went with it. They all go to the base Trash as one entry; restore it with listTrash and restoreFromTrash. If the base keeps no trash (0-day retention), the delete is permanent.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `documentId` | string | Yes | Document ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete document comment

**Slug:** `NOCODB_MCP_DELETE_DOCUMENT_COMMENT`

Delete a document comment you wrote

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `commentId` | string | Yes | Comment ID |
| `documentId` | string | Yes | Document ID — from listDocuments |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete field

**Slug:** `NOCODB_MCP_DELETE_FIELD`

Delete a field (column) from a table. It goes to the trash with its cell values and can be restored with restoreFromTrash. Deleting a link field does not remove the reverse link on the related table: that field is replaced by a SingleLineText field with the same title (new field id) holding the linked display values. Re-read the related table schema to find it. restoreFromTrash restores the reverse link (original field id) and removes the placeholder.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | Yes | Field/column ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete filter

**Slug:** `NOCODB_MCP_DELETE_FILTER`

Delete a filter from a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `filterId` | string | Yes | Filter ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete folder

**Slug:** `NOCODB_MCP_DELETE_FOLDER`

Delete a folder. Returns the tables, documents and dashboards freed by the delete with their new orders.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `folderId` | string | Yes | Folder ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete hook

**Slug:** `NOCODB_MCP_DELETE_HOOK`

Delete a webhook. Answers with {deleted, resource, id}.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `hookId` | string | Yes | Webhook ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete interface

**Slug:** `NOCODB_MCP_DELETE_INTERFACE`

Delete an interface

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `interfaceId` | string | Yes | Interface ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete interface page

**Slug:** `NOCODB_MCP_DELETE_INTERFACE_PAGE`

Delete a page from an interface (an interface must keep at least one page)

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | Yes | Interface page ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete records

**Slug:** `NOCODB_MCP_DELETE_RECORDS`

Delete records in a table. Up to 100 per call

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `records` | array | Yes | Array of records with IDs to delete. At most 100 per call — a longer array is rejected outright, so split larger writes into batches. |
| `tableId` | string | Yes | Table ID |

### Delete record template

**Slug:** `NOCODB_MCP_DELETE_RECORD_TEMPLATE`

Delete a record template. Records already created from it are untouched.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `templateId` | string | Yes | Template ID — from listRecordTemplates |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete rls policy

**Slug:** `NOCODB_MCP_DELETE_RLS_POLICY`

Delete a row-level security policy and its conditions. Removing the last policy of a table restores unrestricted access

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `policyId` | string | Yes | RLS policy ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete row color condition

**Slug:** `NOCODB_MCP_DELETE_ROW_COLOR_CONDITION`

Remove one colour rule. The rules after it keep their order values, so the list can end up with gaps — harmless, since only the relative order matters.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `conditionId` | string | Yes | Condition ID to remove |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete script

**Slug:** `NOCODB_MCP_DELETE_SCRIPT`

Move a script to the base trash. This is a soft delete — restoreScript brings it back. Any Button field that ran the script has its stored script id cleared, and restoring the script does not re-link them. Note that a field read can keep reporting the old script id for a while after the delete: the stored value is cleared but the cached column metadata is not refreshed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `scriptId` | string | Yes | Script ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete sort

**Slug:** `NOCODB_MCP_DELETE_SORT`

Delete a sort from a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `sortId` | string | Yes | Sort ID |
| `viewId` | string | Yes | View ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete table

**Slug:** `NOCODB_MCP_DELETE_TABLE`

Delete a table from a base. Link fields on other tables that point to it are replaced by SingleLineText fields with the same title (new field id); re-read the related table schemas to find and delete them if unwanted.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete view

**Slug:** `NOCODB_MCP_DELETE_VIEW`

Delete a view from a table. The first collaborative view is the table's default, and the next one takes its place. The last collaborative grid view cannot be deleted.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete view folder

**Slug:** `NOCODB_MCP_DELETE_VIEW_FOLDER`

Delete a view folder. Views inside are moved back to the top level; their orders are left unchanged (folders are a tier above the loose views).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `folderId` | string | Yes | View folder ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete widget

**Slug:** `NOCODB_MCP_DELETE_WIDGET`

Delete a widget from a dashboard

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `widgetId` | string | Yes | Widget ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete workflow

**Slug:** `NOCODB_MCP_DELETE_WORKFLOW`

Delete an automation

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `workflowId` | string | Yes | Automation ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Delete workflow node

**Slug:** `NOCODB_MCP_DELETE_WORKFLOW_NODE`

Delete one node from an automation's draft. Edits one node of the draft in place, so you do not have to send the whole graph. The read-mutate-write is done server-side, which keeps the last-write-wins window against a human editing in the UI down to this one request. Use updateWorkflow instead for bulk authoring or fan-out/merge topologies. Every edge into or out of the node goes with it — an edge pointing at a missing node is rejected — so the chain is left open and you re-wire it with connectWorkflowNodes. Test results downstream of the deleted node are cleared, since their input is gone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `nodeId` | string | Yes | Node id to delete |
| `workflowId` | string | Yes | Automation ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Disconnect workflow nodes

**Slug:** `NOCODB_MCP_DISCONNECT_WORKFLOW_NODES`

Remove the edge between two nodes of an automation's draft. Edits one node of the draft in place, so you do not have to send the whole graph. The read-mutate-write is done server-side, which keeps the last-write-wins window against a human editing in the UI down to this one request. Use updateWorkflow instead for bulk authoring or fan-out/merge topologies. The nodes stay; only the edge goes. Test results for the target and everything below it are cleared.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `source` | string | Yes | Source node id |
| `target` | string | Yes | Target node id |
| `workflowId` | string | Yes | Automation ID |
| `sourcePortId` | string | No | Only remove the edge leaving this port. Omit to remove every edge from source to target. |

### Drop permission

**Slug:** `NOCODB_MCP_DROP_PERMISSION`

Remove a permission grant, so the entity falls back to plain base-role access

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `entity` | string ("table" | "field") | Yes | Entity the permission is attached to |
| `entityId` | string | Yes | Table ID for entity "table", field ID for entity "field" |
| `permission` | string ("TABLE_VISIBILITY" | "TABLE_RECORD_ADD" | "TABLE_RECORD_DELETE" | "TABLE_DATA_DOWNLOAD" | "RECORD_FIELD_EDIT") | Yes | Permission key. TABLE_VISIBILITY / TABLE_RECORD_ADD / TABLE_RECORD_DELETE / TABLE_DATA_DOWNLOAD apply to entity "table"; RECORD_FIELD_EDIT applies to entity "field". TABLE_VISIBILITY is owner-only and requires a plan that includes it |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Duplicate agent

**Slug:** `NOCODB_MCP_DUPLICATE_AGENT`

Copy an agent with its instructions, tools, triggers and, for a coding agent, its repos. A draft's copy is a plain agent, switched off.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |

### Duplicate base

**Slug:** `NOCODB_MCP_DUPLICATE_BASE`

Copy the base this connection is scoped to, into the same workspace. The new base id is known straight away and reported as `id` even while the contents are still being copied, so a timeout or a failure here still leaves you something to work with — but the copy is only complete once `status` is completed. A duplicated base is removed in the UI, or with deleteBase where the connection has it switched on.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `exclude_data` | boolean | No | Copy the schema only, leaving every table empty |
| `exclude_hooks` | boolean | No | Skip webhooks |
| `exclude_views` | boolean | No | Copy only each table default view |
| `exclude_scripts` | boolean | No | Skip scripts |
| `exclude_workflows` | boolean | No | Skip automations |
| `exclude_dashboards` | boolean | No | Skip dashboards |
| `exclude_interfaces` | boolean | No | Skip interfaces |

### Duplicate field

**Slug:** `NOCODB_MCP_DUPLICATE_FIELD`

Copy a field within its table, including its cell values. Formula, Lookup and Rollup copies keep pointing at the same referenced fields. Waits for the copy to finish, then returns the new `id`, `title` and `type` plus the `job_id` that ran it — not the whole field; read it back with listFields. If the job outruns the 60s wait the reply is `status: "running"` with the job_id and no id — poll getJobStatus for it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | Yes | Field/column ID to duplicate |
| `exclude_data` | boolean | No | Create the field empty instead of copying cell values |

### Duplicate interface

**Slug:** `NOCODB_MCP_DUPLICATE_INTERFACE`

Duplicate an interface with all of its pages (draft state)

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `interfaceId` | string | Yes | Interface ID to duplicate |

### Duplicate interface page

**Slug:** `NOCODB_MCP_DUPLICATE_INTERFACE_PAGE`

Duplicate a page within its interface (draft state)

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | Yes | Interface page ID |

### Duplicate script

**Slug:** `NOCODB_MCP_DUPLICATE_SCRIPT`

Duplicate a script into the same base. The copy is titled "Copy of <title>", de-duplicated with a counter. The copy carries the source, meta and description — but NOT the saved `config` values or the automation folder, so a script that declares input.config.* items comes back unrunnable until you set its config. The response warns when either applies.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `scriptId` | string | Yes | Script ID to duplicate |

### Duplicate table

**Slug:** `NOCODB_MCP_DUPLICATE_TABLE`

Copy a table into the same base, with its fields, views, data and webhooks. The copy is titled "<title> copy" unless `title` says otherwise. Links to other tables are recreated; links pointing at the copy from elsewhere are not. Waits for the copy to finish, then returns the new `id` and `title` plus the `job_id` that ran it — not the whole table; read it back with getTableSchema. If the job outruns the 60s wait the reply is `status: "running"` with the job_id and no id — poll getJobStatus for it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | Title for the copy. De-duplicated if already taken |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID to duplicate |
| `exclude_data` | boolean | No | Copy the schema only, leaving the copy empty |
| `exclude_hooks` | boolean | No | Leave the webhooks behind |
| `exclude_views` | boolean | No | Copy only the default view |

### Duplicate view

**Slug:** `NOCODB_MCP_DUPLICATE_VIEW`

Copy a view on the same table, with its filters, sorts, grouping and field layout. Unlike the other duplicate tools this is immediate — no job. A shared-view link is not carried over.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | Title for the copy. Defaults to a numbered copy |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID to duplicate |

### Duplicate workflow

**Slug:** `NOCODB_MCP_DUPLICATE_WORKFLOW`

Duplicate an automation into the same base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `workflowId` | string | Yes | Automation ID to duplicate |

### Export csv

**Slug:** `NOCODB_MCP_EXPORT_CSV`

Export a table or view as CSV text, with the field order, visibility, filters and sorts of the view. Decimal and Currency carry their stored value, not the field display precision. Returns the CSV inline, so it is capped — narrow the export with a filtered view rather than raising the cap.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | No | View whose fields, filters and sorts shape the export. Defaults to the table default view |
| `maxRows` | integer | No | Data rows to export, excluding the header (default 1000) |
| `tableId` | string | No | Table ID. Optional when `viewId` is given |
| `delimiter` | string | No | Field delimiter (default ",") |

### Export excel

**Slug:** `NOCODB_MCP_EXPORT_EXCEL`

Export a table or view as an .xlsx workbook and return a download link. The file is written to storage and the link is signed for 3 hours — the bytes are not returned, so this is for handing a spreadsheet to a person, not for reading the data. Use `exportCsv` to read rows, or `queryRecords` to work with them. Capped at `maxRows`, like exportCsv; `truncated` says whether the view held more. For a full export, use a filtered view or the UI.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | No | View whose fields, filters and sorts shape the export. Defaults to the first non-personal view of the table |
| `maxRows` | integer | No | Data rows to export, excluding the header (default 1000) |
| `tableId` | string | No | Table ID. Optional when `viewId` is given |
| `filenameTimeZone` | string | No | IANA zone for the timestamp in the filename, e.g. Europe/Berlin (default UTC) |

### Generate skill guide

**Slug:** `NOCODB_MCP_GENERATE_SKILL_GUIDE`

Return a bundle of skill files describing this MCP surface as this credential actually sees it, to write under `.claude/skills/nocodb-mcp`; `SKILL.md` is the entry point. Carries what tool schemas structurally cannot: which tool answers which goal, the invariants that make a call succeed silently without doing anything, the read-back that proves a write landed, and what each error string really means. Call it once at the start of a session, or with `sections: ["scope"]` to refresh just the reachable workspaces and bases.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sections` | array | No | Which files to return. Omit for the whole bundle. 'scope' is the reachable workspaces and bases, which is the one file worth refreshing on its own. |

### Get agent

**Slug:** `NOCODB_MCP_GET_AGENT`

Get an agent by ID: instructions, tools, triggers, delivery and, for a coding agent, its code settings

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |

### Get agent session

**Slug:** `NOCODB_MCP_GET_AGENT_SESSION`

Where an agent session's turn stands, for chat and coding agents alike. `turn` is idle, running, waiting (a chat turn parked on a person's approval: `pending_tools` names the tools and `url` opens the session, where they approve) or failed (`error` says why). A coding session also has its repo. A chat agent's triggered runs are visible to Creator and above only, a personal agent's to its owner only. Poll getAgentSession until `turn` is not `running`, then read the reply with listAgentMessages.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |
| `sessionId` | string | Yes | Session ID |

### Get app url

**Slug:** `NOCODB_MCP_GET_APP_URL`

Where a resource lives in the NocoDB web app — the link to hand a person. Returns `url`, or `url_path` alone when the server does not know its public origin; an interface also gets the builder as `edit_url`. Pass `kind` plus the ids it needs: table (tableId), view (tableId, viewId), workflow (workflowId), interface (interfaceId, optional pageId), dashboard (dashboardId), script (scriptId), document (documentId), base (no ids), record (tableId, recordId, optional viewId — opens the record expanded).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `kind` | string ("base" | "table" | "view" | "record" | "workflow" | "interface" | "dashboard" | "script" | "document") | Yes | Which kind of resource to link to |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | No | Optional, for kind interface: deep-link to one page |
| `viewId` | string | No | For kind view; optional for kind record |
| `tableId` | string | No | For kind table, view or record |
| `recordId` | string | No | For kind record: the record id (primary key value) |
| `scriptId` | string | No | For kind script |
| `documentId` | string | No | For kind document |
| `workflowId` | string | No | For kind workflow |
| `dashboardId` | string | No | For kind dashboard |
| `interfaceId` | string | No | For kind interface |

### Get base

**Slug:** `NOCODB_MCP_GET_BASE`

Fetch one base by id, including its sources. Use it to confirm a base exists and is reachable before working inside it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID |

### Get base info

**Slug:** `NOCODB_MCP_GET_BASE_INFO`

Fetch information about current base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### Get base schema

**Slug:** `NOCODB_MCP_GET_BASE_SCHEMA`

Every table in the base with its fields and views, in one call — the orientation read, in place of one getTableSchema per table. Field options (select choices, relation targets, formulas) are included. Per-view field visibility, filters and sorts are not — read those from the view. Members are not listed; listBaseMembers reports them with the roles enforcement actually resolves. On a large base the result can be too big to read: pass tableIds to limit it to some tables.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableIds` | array | No | Return only these tables (ids from getTablesList). Omit for every table; use it on a large base. |

### Get coding session diff

**Slug:** `NOCODB_MCP_GET_CODING_SESSION_DIFF`

Everything a coding session changed, as one unified patch, with its branch and commits. Wakes the machine if it is asleep. Cut at file boundaries to about 100000 characters: `omitted_files` names the files left out (the first 200; `omitted_count` counts them all); narrow it with `scope`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `base` | string | No | branch scope: the ref to compare against |
| `scope` | string ("branch" | "last_turn" | "uncommitted" | "unstaged" | "staged" | "commit") | No | branch (default): since the session started; commit: one commit |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `commit` | string | No | commit scope: the commit sha |
| `agentId` | string | Yes | Coding agent ID |
| `sessionId` | string | Yes | Session ID |
| `ignoreWhitespace` | boolean | No | Leave out whitespace-only changes |

### Get dashboard

**Slug:** `NOCODB_MCP_GET_DASHBOARD`

Get a dashboard by ID, optionally including its widgets

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `dashboardId` | string | Yes | Dashboard ID |
| `includeWidgets` | boolean | No | Include widgets in the response |

### Get dashboard data

**Slug:** `NOCODB_MCP_GET_DASHBOARD_DATA`

Get the computed data for all widgets of a dashboard

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `dashboardId` | string | Yes | Dashboard ID |

### Get date dependency

**Slug:** `NOCODB_MCP_GET_DATE_DEPENDENCY`

Read the date dependency rule of a table, or of one Gantt view. Returns null when no rule is configured. A rule links a start field, an end field and a link field so moving one record shifts the records that depend on it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `ganttViewId` | string | No | This Gantt view's own rule. Omit for the table-level default |

### Get document

**Slug:** `NOCODB_MCP_GET_DOCUMENT`

Get a document page with its content as Markdown. `version` in the response is what updateDocument needs. `content_warnings` names any content the Markdown does not represent — it is still in the page, but writing this Markdown back would drop it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `documentId` | string | Yes | Document ID |

### Get execution

**Slug:** `NOCODB_MCP_GET_EXECUTION`

Get one run of an automation, including its node results. A run that failed before any step ran has no failing node result; its reason is in `execution_data.errorMessage`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `workflowId` | string | Yes | Automation ID |
| `executionId` | string | Yes | Run ID |

### Get field

**Slug:** `NOCODB_MCP_GET_FIELD`

Get a single field (column) by ID. A link field adds `options.record_selection_filter`: the conditions limiting which records can be linked. `dynamic: true` compares against field `value_field_id` of the current record; `available: false` comes with a `reason`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | Yes | Field/column ID |

### Get field options schema

**Slug:** `NOCODB_MCP_GET_FIELD_OPTIONS_SCHEMA`

Get the exact JSON Schema for a field `options` of the given type — the shape createField, updateField and createTable validate against. Read this before authoring options by hand: `options` is not modelled in those tools, and an unknown key is rejected for every type that takes options.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string ("SingleLineText" | "LongText" | "PhoneNumber" | "URL" | "Email" | "Number" | "Decimal" | "Currency" | "Percent" | "Duration" | "Date" | "DateTime" | "Time" | "Year" | "SingleSelect" | "MultiSelect" | "Rating" | "Checkbox" | "Attachment" | "JSON" | "Geometry" | "Lookup" | "Rollup" | "Button" | "Formula" | "Barcode" | "QrCode" | "CreatedTime" | "LastModifiedTime" | "CreatedBy" | "LastModifiedBy" | "LinkToAnotherRecord" | "User") | Yes |  |

### Get form field conditions

**Slug:** `NOCODB_MCP_GET_FORM_FIELD_CONDITIONS`

Read the "show on conditions" rules of a form view — the conditions under which each field is displayed. Fields with no conditions are always shown and are omitted. Conditions built in the UI may be nested in groups; those are reported flat with `is_group` and `parent_id` so the real structure is visible, but setFormFieldConditions writes a flat list only and refuses to replace a grouped rule set.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | Form view ID |

### Get form schema

**Slug:** `NOCODB_MCP_GET_FORM_SCHEMA`

Read an interface form page as its respondent sees it: title, the table it creates records in, the submit action, and groups of fields — each with `field_id`, `name`, `label`, `type`, description, `required`, `default_value`, validators, select `options` and a `visibility` rule. Read it before submitForm. A field with `visibility` is shown only while that condition holds against the other values you submit; while hidden it takes no value and is not required. `read_only` fields take no value. Also reads a record layout bound as a link field's add form (the field's `fk_add_form_page_id` in getInterfacePage).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `env` | string ("draft" | "published") | No | published (default) — the form respondents see. draft — the unpublished version, for builders testing a change. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | Yes | Form page ID — from listInterfacePages (layout form) |

### Get hook

**Slug:** `NOCODB_MCP_GET_HOOK`

Get a webhook by ID

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `hookId` | string | Yes | Webhook ID |

### Get interface

**Slug:** `NOCODB_MCP_GET_INTERFACE`

Get one interface by ID

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `interfaceId` | string | Yes | Interface ID |

### Get interface authoring instructions

**Slug:** `NOCODB_MCP_GET_INTERFACE_AUTHORING_INSTRUCTIONS`

How to author interface pages over this API: the draft/publish model, page layouts and their config shapes, and how config references columns and pages. Read this before creating or updating a page config.

### Get interface page

**Slug:** `NOCODB_MCP_GET_INTERFACE_PAGE`

Get one interface page, including its draft `config`. Read this before updating a page — an update replaces the whole config. `draft_visible` is false for roles that cannot see drafts: `config` is then the published snapshot, not the draft, so do not use it as the base of an update. A page carries `password_protected` (boolean), not `password`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | Yes | Interface page ID |

### Get interface page config schema

**Slug:** `NOCODB_MCP_GET_INTERFACE_PAGE_CONFIG_SCHEMA`

Get the exact JSON Schema for a page `config` of the given layout — the authoritative shape createInterfacePage and updateInterfacePage validate against, generated from the same server-side schema. Read this before authoring a config by hand instead of guessing its keys. Recursive filter groups and sub-schemas used more than once appear as JSON Schema `$ref`s into `$defs`; every other key is inlined and exact.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `layout` | string ("table" | "record_review" | "dashboard" | "form" | "overview" | "record_detail" | "custom") | Yes | Page layout to look up: table, record_review, dashboard, form, overview, record_detail, or custom. |

### Get interface page meta

**Slug:** `NOCODB_MCP_GET_INTERFACE_PAGE_META`

Get the projected source-table metadata for a page (columns with their IDs, related metas). Use this to discover the column IDs a page config must reference.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `env` | string ("draft" | "published") | No | Which snapshot to read: draft (builders only) or published. Defaults to draft for builders. |
| `vizId` | string | No | Dashboard pages only: the "view" widget whose source table to project. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | Yes | Interface page ID |

### Get interface widget data

**Slug:** `NOCODB_MCP_GET_INTERFACE_WIDGET_DATA`

Get the computed data for one widget of a dashboard page

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `env` | string ("draft" | "published") | No | Which snapshot to read: draft (builders only) or published. Defaults to draft for builders. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `pageId` | string | Yes | Dashboard interface page ID |
| `widgetId` | string | Yes | Widget ID (from the page config) |

### Get job status

**Slug:** `NOCODB_MCP_GET_JOB_STATUS`

Status of a background job started by one of the duplicate tools. `status` is waiting, active, completed or failed; a completed job carries the new entity id in `result`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `jobId` | string | Yes | Job ID returned by a duplicate tool |
| `baseId` | string | Yes | Base ID — from listBases or createBase |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `job` | string | Yes |  |
| `result` | string | Yes |  |
| `status` | string | Yes |  |

### Get record

**Slug:** `NOCODB_MCP_GET_RECORD`

Fetch a record by ID. Returns the same `{ id, fields }` shape as queryRecords, so a record can be passed back to updateRecords as-is.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | string | No | Fields to return — an array of field names, or a comma-separated list. Linked-record fields returned with this option omit their display values. |
| `viewId` | string | No | Optional view ID to use view-specific configurations — the view filters, sorts and field visibility are applied. Obtain one from getTableSchema. |
| `tableId` | string | Yes | Table ID |
| `recordId` | string | Yes | Record ID or primary key value |

### Get record template

**Slug:** `NOCODB_MCP_GET_RECORD_TEMPLATE`

Read one record template in full, including the `template_data` payload it writes: `fields` (field title → value) and `linked_records` (link field id → records to link or create).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `templateId` | string | Yes | Template ID — from listRecordTemplates |

### Get rls policy

**Slug:** `NOCODB_MCP_GET_RLS_POLICY`

Get a single row-level security policy by ID. A policy's root filters come back flattened into `conditions`, not `filters`. A condition marked `is_group: true` is a filter group authored in the UI; its children are not shown and this tool cannot express them. setRlsPolicyConditions refuses to replace the conditions of such a policy, since writing the flat list back would drop the group.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `policyId` | string | Yes | RLS policy ID |

### Get roadmap item

**Slug:** `NOCODB_MCP_GET_ROADMAP_ITEM`

Read one request on NocoDB's product roadmap — title, description, status, votes, labels — by its number or app.nocodb.com/roadmap URL. Comments come from listRoadmapComments.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `item` | string | Yes | The request: its number (168), identifier (RM-168), or its roadmap URL (https://app.nocodb.com/roadmap/168/...). |

### Get row coloring

**Slug:** `NOCODB_MCP_GET_ROW_COLORING`

The row-colour setup of a view. `mode` is "select" (coloured by a SingleSelect field), "filter" (an ordered condition list, first match wins) or absent when the view has none. Read this before any row-colour write — the two modes cannot be mixed. Select mode returns `field_id`, `apply_as_row_background` and `options[]` (title, color). Filter mode returns `conditions[]`, each with `id`, `color`, `apply_as_row_background`, `order` and `filters[]` (id, field_id, operator, sub_operator, value, logical_op, plus `is_group` and `parent_id` for nested filter groups).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |

### Get script

**Slug:** `NOCODB_MCP_GET_SCRIPT`

Get a NocoDB script by ID

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `scriptId` | string | Yes | Script ID |

### Get script authoring instructions

**Slug:** `NOCODB_MCP_GET_SCRIPT_AUTHORING_INSTRUCTIONS`

How to write the source for a NocoDB script: the runtime globals, the record read/write API, and the silent-failure modes the generated editor typings do not mention. Read this before createScript or updateScript.

### Get tables list

**Slug:** `NOCODB_MCP_GET_TABLES_LIST`

List tables accessible by user. Returns {list: [tables...]}

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### Get table schema

**Slug:** `NOCODB_MCP_GET_TABLE_SCHEMA`

Get the table schema including fields and views information

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table Id |
| `includeSystem` | boolean | No | Also return the system CreatedAt, UpdatedAt, CreatedBy and UpdatedBy fields the table has, marked `system: true` — e.g. to sort or filter an interface page by them. Default false. |

### Get view

**Slug:** `NOCODB_MCP_GET_VIEW`

Get a single view by ID. A gallery/kanban view answers with `options.cover_field_id`, the key these tools accept back.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |

### Get widget

**Slug:** `NOCODB_MCP_GET_WIDGET`

Get a single widget by ID. Adds `problems` when the widget would render nothing, checked live against the table as it is now — trust it over the stored `error` flag, which is only recomputed when the widget itself is written and so reads `false` for a widget broken later by a column being deleted.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `widgetId` | string | Yes | Widget ID |

### Get widget config schema

**Slug:** `NOCODB_MCP_GET_WIDGET_CONFIG_SCHEMA`

Get the exact JSON Schema for a widget `options` of the given type — the shape createWidget and updateWidget validate against. Read this before authoring options by hand. Note the dialect: dashboard widgets are snake_case (`chart_type`, `field_id`), while an interface page stores the camelCase form of the same config.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string ("chart" | "metric" | "text" | "iframe") | Yes | Widget type. Only these four are creatable through the API — a dashboard can also hold gauge/table/pivot widgets, but only the UI can add those. `options` must match the type: see getWidgetConfigSchema(type) for the exact shape. |

### Get widget data

**Slug:** `NOCODB_MCP_GET_WIDGET_DATA`

Get the computed data for a single widget

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `widgetId` | string | Yes | Widget ID |

### Get workflow

**Slug:** `NOCODB_MCP_GET_WORKFLOW`

Get one automation, including its editable `draft` graph and the published `nodes`/`edges`. Start here before any write: Writes replace the whole draft graph, so always getWorkflow first, mutate the graph it returns, then send it back — and note it is last-write-wins against anyone editing the same automation in the UI. Publishing clears `draft`, so read `draft` when it is set and fall back to `nodes`/`edges` otherwise. `data.testResult` is ignored on write; results are carried forward for every node you leave untouched. To edit one node instead of the whole graph, use addWorkflowNode / updateWorkflowNode / deleteWorkflowNode and connectWorkflowNodes / disconnectWorkflowNodes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `workflowId` | string | Yes | Automation ID |

### Get workflow authoring instructions

**Slug:** `NOCODB_MCP_GET_WORKFLOW_AUTHORING_INSTRUCTIONS`

How to author an automation draft over this API: graph shape, trigger and edge rules, expression syntax, and what is rejected. Read this before createWorkflow or updateWorkflow.

### Group by records

**Slug:** `NOCODB_MCP_GROUP_BY_RECORDS`

Count records per distinct value of a field — "appointments per status". Returns each value with its count, so a follow-up queryRecords can filter to one group.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string | No | Field title to sort the groups by; prefix with - for desc |
| `limit` | number | No | Maximum groups to return |
| `where` | string | No | Filter records using NocoDB query syntax, e.g. (status,eq,active)~and(amount,gte,100).  For the complete operator list, date sub-operators, quoting rules and examples, see the `where` parameter of the `queryRecords` tool — the syntax is identical. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `filter` | string | No | Structured filter — the same shape as createFilter: a single condition { field, operator, value }, or a group { group_operator: "AND"&#124;"OR", filters: [...] } whose members may themselves be groups. Field names and values are quoted for you, so commas, parentheses and quotes in either are safe. Prefer this over `where`; pass only one of the two. |
| `offset` | number | No | Groups to skip |
| `fieldId` | string | Yes | Field to group by — its id or exact title, from listFields or getTableSchema |
| `tableId` | string | Yes | Table ID |

### Import csv

**Slug:** `NOCODB_MCP_IMPORT_CSV`

Load CSV text into the base — either as a new table, or as rows appended to an existing one. Runs to completion and reports the rows actually written. Values are coerced to the destination field type on append, so importing into a table you created with the right field types is preferred. An append that would create more than 5000 links (one per value in a Links field cell) is refused before any row is written — split such a CSV into smaller imports up front.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `csv` | string | Yes | The CSV content itself, including the header row |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | No | Append to this existing table. Headers are matched to fields by title, then by column name; unmatched headers are skipped and reported. Omit to create a new table instead |
| `tableName` | string | No | Create a new table with this title, one field per CSV column. Every field is created as SingleLineText — type detection is switched off in the import pipeline — so either convert them afterwards with updateField, or create the table with createTable first and import with tableId. Mutually exclusive with tableId |
| `firstRowAsHeaders` | boolean | No | Whether the first row holds field names (default true). When false, fields are named positionally |

### Invite workspace members

**Slug:** `NOCODB_MCP_INVITE_WORKSPACE_MEMBERS`

Invite people to a workspace by email, all at one role. Unknown emails get an invitation mail. You cannot invite above your own workspace role. Existing members are refused — use updateWorkspaceMember for them.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `emails` | array | Yes | Up to 10 emails. An unknown email gets an invitation mail, and each email counts against this connection's daily invite budget. |
| `workspaceId` | string | Yes | Workspace ID — from listWorkspaces |
| `workspace_role` | string ("workspace-level-owner" | "workspace-level-creator" | "workspace-level-editor" | "workspace-level-commenter" | "workspace-level-viewer" | "workspace-level-no-access") | Yes | Role to grant |
| `idempotency_key` | string | No | Optional key that makes a retry safe: repeating a call with the same key within an hour returns the original result instead of inviting again. |

### Launch coding agent

**Slug:** `NOCODB_MCP_LAUNCH_CODING_AGENT`

Create a coding agent ready to run: its repos, its machine and its first session, in one call. Find repos with listAvailableRepos. Needs a plan with coding agents.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `size` | string ("small" | "standard" | "large") | No | Machine size; standard when omitted |
| `task` | object | Yes | A prompt, an issue or PR, or both |
| `repos` | array | Yes | The first is the default, where the first task runs |
| `title` | string | Yes | Agent name |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `skills` | array | No | Skill ids |
| `webAccess` | boolean | No | Web search and scraping tools. Default true. |
| `instructions` | string | No |  |

### Link records

**Slug:** `NOCODB_MCP_LINK_RECORDS`

Add links from records in this table to records in the linked table through a link field. On a many-to-many or has-many field existing links are kept; use updateRecords to replace a whole set, unlinkRecords to remove. A many-to-one, belongs-to or one-to-one field takes one target per record; more is refused, and one target replaces any existing link on that record. A one-to-one or has-many target already linked elsewhere is moved, and its previous link is removed without a warning. Reports per-record ok/error — one bad record does not fail the rest.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | Yes | Link field ID or title, e.g. from getTableSchema |
| `records` | array | Yes | One entry per record on this table. At most 100 entries per call. |
| `tableId` | string | Yes | Table ID |

### Link records by display value

**Slug:** `NOCODB_MCP_LINK_RECORDS_BY_DISPLAY_VALUE`

Link records by what they are called rather than by id: pass the display values (titles) of the records on the linked table. Adds to the existing links, exactly like linkRecords — use updateRecords to replace a whole set, unlinkRecords to remove. Matching is exact, so a title that matches no record comes back under `unmatched` instead of being dropped. A title several records share is refused: that entry links nothing and returns the candidate ids under `ambiguous`, to retry with linkRecords.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | Yes | Link field ID or title, e.g. from getTableSchema |
| `records` | array | Yes | One entry per record on this table. At most 100 entries per call. |
| `tableId` | string | Yes | Table ID holding the link field |

### List agents

**Slug:** `NOCODB_MCP_LIST_AGENTS`

List the agents of a base, with their roles and channels. `config.mode` is 'standard' or 'coding'; an agent with `config.setup` is a draft still being set up.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List agent messages

**Slug:** `NOCODB_MCP_LIST_AGENT_MESSAGES`

The messages of one agent session — how you read an agent's reply once getAgentSession says its turn is no longer running. A coding turn's messages are written when it ends. A chat agent's triggered runs are visible to Creator and above only, a personal agent's to its owner only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | number | No | Page size |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `offset` | number | No | Rows to skip |
| `agentId` | string | Yes | Agent ID |
| `sessionId` | string | Yes | Session ID |

### List agent repos

**Slug:** `NOCODB_MCP_LIST_AGENT_REPOS`

A coding agent's GitHub repositories. Sessions start on the default (`is_default`) unless another is named.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Coding agent ID |

### List agent sessions

**Slug:** `NOCODB_MCP_LIST_AGENT_SESSIONS`

The conversations and triggered runs of an agent. Chat sessions are scoped to their owner, triggered runs to Creator and above (a personal agent's to its owner). A coding agent's are its coding sessions, every one in the base (Editor and above).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | number | No | Page size |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `offset` | number | No | Rows to skip |
| `agentId` | string | Yes | Agent ID |
| `triggerKind` | string ("chat" | "triggered" | "all") | No | Which kind of session to list |

### List automation folders

**Slug:** `NOCODB_MCP_LIST_AUTOMATION_FOLDERS`

List the automation folders of the current base with the workflows and scripts inside each, plus the unfoldered automations under `topLevel`. Folders are interleaved with the unfoldered automations in the sidebar. Use the ids reported here with `moveAutomationToFolder`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List available repos

**Slug:** `NOCODB_MCP_LIST_AVAILABLE_REPOS`

The repositories a GitHub App connection of the workspace can reach, for launchCodingAgent or addAgentRepo. With `agentId`, `configured` marks the ones that agent already has.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `search` | string | No | Filter by name |
| `agentId` | string | No | Coding agent ID |
| `integrationId` | string | Yes | GitHub connection ID |

### List bases

**Slug:** `NOCODB_MCP_LIST_BASES`

List the bases in a workspace that this credential can reach. A base is one database: its tables, views, workflows and apps.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | Yes | Workspace ID |

### List base audits

**Slug:** `NOCODB_MCP_LIST_BASE_AUDITS`

The audit log of the whole base — schema and record changes across every table, newest first by default. Filter by actor, event type or date range to keep the answer small. Cursor-paginated: pass the `next` value the previous answer returned to get the following page. Absent `next` means the last page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | array | No | Only these audit event types (e.g. DATA_UPDATE) |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `cursor` | string | No | Page cursor from a previous call |
| `userId` | string | No | Only events by this user id |
| `endDate` | string | No | ISO date — only events at or before this instant |
| `orderBy` | string ("asc" | "desc") | No | Order by event time (default desc) |
| `startDate` | string | No | ISO date — only events at or after this instant |

### List base members

**Slug:** `NOCODB_MCP_LIST_BASE_MEMBERS`

List the users, teams, agents and roles of this base — the subjects a permission grant or RLS policy can be assigned to. `roles` is split by consumer: a grant accepts fewer roles than an RLS policy does

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List comments

**Slug:** `NOCODB_MCP_LIST_COMMENTS`

List comments on a record

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `recordId` | string | Yes | Record ID |

### List dashboards

**Slug:** `NOCODB_MCP_LIST_DASHBOARDS`

List dashboards in a base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List documents

**Slug:** `NOCODB_MCP_LIST_DOCUMENTS`

List document pages in the base. Returns the children of `parentId`, or the root-level pages when it is omitted. Content is not included — call getDocument for that.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `parentId` | string | No | Parent document ID. Omit for root-level pages |
| `recursive` | boolean | No | Nest every descendant under a `children` array instead of listing one level. Costs one query per page that has children |

### List document comments

**Slug:** `NOCODB_MCP_LIST_DOCUMENT_COMMENTS`

List comments on a document page, oldest first. Replies are nested under their parent in `replies`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `documentId` | string | Yes | Document ID — from listDocuments |

### List executions

**Slug:** `NOCODB_MCP_LIST_EXECUTIONS`

List past runs of an automation

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Page size, 1-200. Defaults to 25 |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `offset` | integer | No | Rows to skip |
| `workflowId` | string | Yes | Automation ID |

### List fields

**Slug:** `NOCODB_MCP_LIST_FIELDS`

List all fields (columns) of a table

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `includeSystem` | boolean | No | Also return the system CreatedAt, UpdatedAt, CreatedBy and UpdatedBy fields the table has, marked `system: true` — e.g. to sort or filter an interface page by them. Default false. |

### List filters

**Slug:** `NOCODB_MCP_LIST_FILTERS`

List filters of a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |

### List folders

**Slug:** `NOCODB_MCP_LIST_FOLDERS`

List folders in the current base with the tables, documents and dashboards inside each under `children`. Folders group those entities in the base sidebar. Use the ids reported here with `moveTableToFolder`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List form link candidates

**Slug:** `NOCODB_MCP_LIST_FORM_LINK_CANDIDATES`

List the records a link field on a form page can link: the field's record-selection filters apply, and any filter that compares against another field reads it from `fields`. Returns `{ list, pageInfo }`; each record carries its primary key and display value. Pass the chosen ids to submitForm.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `env` | string ("draft" | "published") | No | published (default) — the form respondents see. draft — the unpublished version, for builders testing a change. |
| `limit` | integer | No |  |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | object | No | The other values you will submit, keyed by field id or name |
| `offset` | integer | No |  |
| `pageId` | string | Yes | Form page ID |
| `search` | string | No | Match on the linked table's display value |
| `fieldId` | string | Yes | The link field id, from getFormSchema (`field_id`) |

### List hooks

**Slug:** `NOCODB_MCP_LIST_HOOKS`

List webhooks of a table

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |

### List interfaces

**Slug:** `NOCODB_MCP_LIST_INTERFACES`

List the interfaces (end-user: target.user apps) of the current base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List interface pages

**Slug:** `NOCODB_MCP_LIST_INTERFACE_PAGES`

List the pages of an interface. Returns {list: [pages...]}. `draft_visible` is false for roles that cannot see drafts: `config` is then the published snapshot, not the draft, so do not use it as the base of an update. A page carries `password_protected` (boolean), not `password`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `interfaceId` | string | Yes | Interface ID |

### List linked records

**Slug:** `NOCODB_MCP_LIST_LINKED_RECORDS`

Page through the records linked to one row through a Link field. queryRecords already inlines links up to its page limit — use this when there are more than that. Returns { record: {...} | null } for one-to-one and belongs-to, and { records: [...] } for every other relation type — many-to-one included, even though it links at most one record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum linked records (default 25, capped at 100) |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `offset` | integer | No | Linked records to skip. Use `next_offset` / `prev_offset` from the response. |
| `fieldId` | string | Yes | The Link field ID |
| `tableId` | string | Yes | Table ID holding the link field |
| `recordId` | string | Yes | Primary key of the source record, from queryRecords |

### List permissions

**Slug:** `NOCODB_MCP_LIST_PERMISSIONS`

List permission grants configured in this base. Only tables/fields with an explicit grant appear — anything absent follows the base roles

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `entity` | string ("table" | "field") | No | Entity the permission is attached to |
| `tableId` | string | No | Restrict to grants on this table and on its fields |

### List record audits

**Slug:** `NOCODB_MCP_LIST_RECORD_AUDITS`

The change history of one record — who changed which field, from what to what, and when. Cursor-paginated: pass the `next` value the previous answer returned to get the following page. Absent `next` means the last page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `cursor` | string | No | Page cursor from a previous call |
| `tableId` | string | Yes | Table ID the record belongs to |
| `recordId` | string | Yes | Record ID (primary key value), as records tools report it |

### List record templates

**Slug:** `NOCODB_MCP_LIST_RECORD_TEMPLATES`

List the saved record templates of a base, or of one table. A template is a named starter record — field values plus linked records — that `createRecordFromTemplate` stamps out. The payload itself is omitted here; read one template with `getRecordTemplate`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | No | Only templates of this table. Omit for the whole base |

### List repo tasks

**Slug:** `NOCODB_MCP_LIST_REPO_TASKS`

Open issues and pull requests of a repository, to start a coding session or launch from.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `search` | string | No | Filter by title |
| `integrationId` | string | Yes | GitHub connection ID |
| `providerRepoId` | string | Yes | `providerRepoId` from listAvailableRepos |

### List rls policies

**Slug:** `NOCODB_MCP_LIST_RLS_POLICIES`

List row-level security policies of a table, each with its subjects and conditions. A policy's root filters come back flattened into `conditions`, not `filters`. A condition marked `is_group: true` is a filter group authored in the UI; its children are not shown and this tool cannot express them. setRlsPolicyConditions refuses to replace the conditions of such a policy, since writing the flat list back would drop the group.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |

### List roadmap comments

**Slug:** `NOCODB_MCP_LIST_ROADMAP_COMMENTS`

Read the comment thread on a request on NocoDB's product roadmap, replies nested under their comment.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `item` | string | Yes | The request: its number (168), identifier (RM-168), or its roadmap URL (https://app.nocodb.com/roadmap/168/...). |
| `internal` | boolean | No | HQ staff only: the internal staff thread instead of the public one. |

### List roadmap items

**Slug:** `NOCODB_MCP_LIST_ROADMAP_ITEMS`

List or search requests on NocoDB's product roadmap (feature requests and their status). Returns cards with number, title, status and votes; pass a number to getRoadmapItem for the full request.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `q` | string | No | Search text. |
| `sort` | string ("top" | "new" | "revenue" | "priority" | "manual" | "updated") | No | top (default), new. HQ staff also: revenue, priority, manual, updated. |
| `view` | string ("all" | "mine" | "voted" | "triage" | "assigned" | "internal") | No | all (default), mine (requests you submitted), voted. HQ staff only: triage, assigned, internal. |
| `limit` | integer | No | Default 25. |
| `state` | string ("open" | "shipped" | "closed") | No | open (default for view all), shipped or closed. |
| `offset` | integer | No |  |
| `status` | array | No | Narrow to these statuses: the public status for customers, the internal status for HQ staff. |
| `labelIds` | array | No |  |

### List scripts

**Slug:** `NOCODB_MCP_LIST_SCRIPTS`

List NocoDB scripts in a base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List shared views

**Slug:** `NOCODB_MCP_LIST_SHARED_VIEWS`

List the views of a table that currently have a public share link. Scoped by `tableId`, or by any `viewId` of that table.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | No | List the share links of the table this view belongs to — for when only a view id is at hand, e.g. after shareView. Pass either this or `tableId` |
| `tableId` | string | No | List the share links of every view of this table. From getTablesList. Pass either this or `viewId` |

### List sorts

**Slug:** `NOCODB_MCP_LIST_SORTS`

List sorts of a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |

### List trash

**Slug:** `NOCODB_MCP_LIST_TRASH`

What is in the base trash — deleted records, tables, views, fields, dashboards, scripts and the rest, newest first. Each entry carries the trash `id` that `restoreFromTrash` takes (not the id of the resource itself), what it was, who deleted it and when, and `is_restorable` for whether this caller may put it back. An entry is purged for good on the base retention schedule it reports as `cleanup_due_at`, so recovery is only possible until then. Cursor-paginated: pass the `next` value the previous answer returned to get the following page. Absent `next` means the last page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Entries per page |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `cursor` | string | No | Page cursor from a previous call |
| `resourceType` | string ("record" | "field" | "table" | "view" | "dashboard" | "widget" | "interface" | "interfacePage" | "workflow" | "script" | "hook" | "extension" | "agent" | "app" | "appSync" | "tableSync" | "document") | No | Only entries of this kind (default: every kind) |

### List views

**Slug:** `NOCODB_MCP_LIST_VIEWS`

List views of a table. A link field's linked records follow its target view when one is set, otherwise the first non-personal grid view in sidebar order, so reordering views changes it. In the app that view sets their sort and visible fields; listLinkedRecords follows its sort only, not its fields or filters. The expanded form of a linked record follows the default view's field order instead. A gallery/kanban view answers with `options.cover_field_id`, the key these tools accept back.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |

### List view folders

**Slug:** `NOCODB_MCP_LIST_VIEW_FOLDERS`

List the view folders of a table along with the views inside each. View folders group views inside one table, tiered above the loose views.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |

### List widgets

**Slug:** `NOCODB_MCP_LIST_WIDGETS`

List widgets of a dashboard

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `dashboardId` | string | Yes | Dashboard ID |

### List workflows

**Slug:** `NOCODB_MCP_LIST_WORKFLOWS`

List the automations (workflows) of the current base

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### List workflow node types

**Slug:** `NOCODB_MCP_LIST_WORKFLOW_NODE_TYPES`

List automation node types available here: id, title, category, description, icon, ports, requiredConfigKeys, hidden status, and plan lock status. Defaults to compact summaries. Use `detail: "full"` with a `nodeIds` filter to get the complete form (config keys, validators, and form field metadata) for specific nodes — full detail is expensive and requires a nodeIds filter. Read this before authoring a draft.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `detail` | string ("summary" | "full") | No | Response detail level: summary (default) or full form |
| `nodeIds` | array | No | Filter to specific node IDs |
| `category` | string ("trigger" | "action" | "flow") | No | Filter to a specific category |

### List workspaces

**Slug:** `NOCODB_MCP_LIST_WORKSPACES`

List the workspaces this credential can reach. A workspace holds bases, integrations and members.

### List workspace members

**Slug:** `NOCODB_MCP_LIST_WORKSPACE_MEMBERS`

List the members of a workspace and their workspace role. A workspace role reaches a base only where the member has no explicit or team role on it and the base is not private.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | Yes | Workspace ID — from listWorkspaces |

### List workspace teams

**Slug:** `NOCODB_MCP_LIST_WORKSPACE_TEAMS`

List the teams in a workspace — the ids addBaseTeam takes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workspaceId` | string | Yes | Workspace ID — from listWorkspaces |

### Move automation to folder

**Slug:** `NOCODB_MCP_MOVE_AUTOMATION_TO_FOLDER`

Move a workflow or script into an automation folder, or back to the top level with `folderId: null`. Optionally set its order within the destination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | Order within the destination |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `entity` | string ("workflow" | "script") | Yes | Kind of automation being moved |
| `folderId` | string | Yes | Destination automation folder ID, or null for top level |
| `automationId` | string | Yes | Workflow or script ID |

### Move document

**Slug:** `NOCODB_MCP_MOVE_DOCUMENT`

Re-parent a document page and/or change its sidebar order. Pass `parentId: null` to move it to the root. Nesting a page clears its sidebar-section membership. Answers with the page summary and no content — call getDocument for the Markdown.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | Absolute sort order among its siblings (float — use a midpoint between neighbours). Omit to append to the end when re-parenting, or to keep the current order otherwise |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `parentId` | string | No | New parent document ID, or null for the root. Omit to keep the current parent |
| `documentId` | string | Yes | Document ID |

### Move table to folder

**Slug:** `NOCODB_MCP_MOVE_TABLE_TO_FOLDER`

Move a table into a base folder, or back to the top level with `folderId: null`. Folders are interleaved with the unfoldered entities, so pass an explicit `order` per table — omitting it leaves the table on the order it already held, which can collide with the other members of the destination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | Order within the destination |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `folderId` | string | Yes | Destination folder ID, or null for the top level |

### Move view to folder

**Slug:** `NOCODB_MCP_MOVE_VIEW_TO_FOLDER`

Move a view into a view folder, or back to the top level with `folderId: null`. Optionally set its order within the destination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | Order within the destination |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `folderId` | string | Yes | Destination view folder ID, or null for the top level |

### Patch document

**Slug:** `NOCODB_MCP_PATCH_DOCUMENT`

Make targeted edits to a document page without resending the whole page: each update replaces `oldStr` with `newStr` in the page Markdown, applied in order. Call getDocument first — every `oldStr` must be an exact substring of the current Markdown and must match exactly one place, so include surrounding lines when the text repeats. Reading converts the stored rich text to Markdown and writing converts it back, so a write drops whatever Markdown cannot carry: embeds, file attachments, underline/highlight and unknown blocks. The response names what this write dropped in `warnings`, and the write still goes through. A patch rewrites the whole page, so it is as lossy as updateDocument even where it edits one line.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. |
| `meta` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. |
| `order` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. Use moveDocument to reorder a page. |
| `title` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. Use updateDocument to rename a page. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_id` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. |
| `version` | number | No | Version the patch is based on, from getDocument. Pass it to have the write fail if the page changed since you read it. Omit to patch the current version. |
| `parent_id` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. Use moveDocument to move a page. |
| `created_at` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `documentId` | string | Yes | Document ID |
| `updated_at` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `has_children` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `comment_count` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `contentUpdates` | array | Yes | Replacements, applied in order |
| `content_markdown` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. Send edits as `contentUpdates`; `content_markdown` is the read-only copy getDocument returns. |
| `content_warnings` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |

### Publish interface

**Slug:** `NOCODB_MCP_PUBLISH_INTERFACE`

Publish an interface: every draft page is snapshotted live for its end users. Pages marked keep-as-draft are skipped. Unpublishing and public share-to-web stay in the UI, so this is one-way here — only publish when the user asked for it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `interfaceId` | string | Yes | Interface ID |

### Publish workflow

**Slug:** `NOCODB_MCP_PUBLISH_WORKFLOW`

Publish an automation: the tested draft becomes the live version and starts running for real on its trigger. Every node must already be tested (validateWorkflowNode) — publishing is refused otherwise and the refusal names the nodes. Node config is validated again at publish, so a test that passed before its table was deleted still blocks it. A node whose test came back with `needsRun: true` blocks publishing until a human runs that step in the editor. Enabling and run_as stay in the UI. Only publish when the user asked for it; say what will go live first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `workflowId` | string | Yes | Automation ID |
| `cancelPendingExecutions` | boolean | No | Runs still waiting against the previous version: true cancels them, false lets them finish on the old definition. Publishing is refused while any exist and this is unset, so the choice is the user's, not a default. |

### Query records

**Slug:** `NOCODB_MCP_QUERY_RECORDS`

Query Records from a Table

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (default: 1). Use `next_page` / `prev_page` from the response. A page past the end returns an empty `records` list whose `prev_page` is the last page with records (1 if there are none). |
| `sort` | array | No | Sort order, applied in array order, e.g. [{"field":"Amount","direction":"desc"}] |
| `where` | string | No | Filter records using NocoDB query syntax.  SYNTAX:   Basic:           (field,operator,value)   No-value ops:    (field,operator)   Date with sub:   (field,operator,sub_operator) or (field,operator,sub_operator,value)   Multiple values: (field,operator,value1,value2,value3)  OPERATORS:    Text/General:     eq        Equal to                    (name,eq,John)     neq       Not equal to                (status,neq,archived)     like      Contains                    (name,like,john) or (name,like,%john%)     nlike     Does not contain            (name,nlike,test)     in        In list of values           (status,in,active,pending,review)     (like/nlike: one outer %…% is optional; any other % or _ matches literally)    Numeric:     gt        Greater than (>)            (price,gt,100)     lt        Less than (<)               (stock,lt,10)     gte       Greater than or equal (>=)  (rating,gte,4)     lte       Less than or equal (<=)     (age,lte,65)    Range: btw/nbtw take two bounds on Number, Decimal, Currency, Percent, Rating,   Duration, Time and text fields. They are REJECTED on Date/DateTime and Checkbox;   use two bounds there.     Between (inclusive)        (price,btw,10,100)     Not between                (score,nbtw,0,50)    Null/Empty (no value needed):     blank     Is blank (null or empty)    (notes,blank)     notblank  Is not blank                (email,notblank)     null      Is null                     (deleted_at,null)     notnull   Is not null                 (created_by,notnull)     empty     Is empty string             (description,empty)     notempty  Is not empty string         (title,notempty)    Boolean/Checkbox (no value needed):     checked      Is checked/true          (is_active,checked)     notchecked   Is not checked/false     (is_archived,notchecked)    Multi-Select/Tags:     allof     Contains all of             (tags,allof,urgent,important)     anyof     Contains any of             (tags,anyof,bug,feature)     nallof    Does not contain all of     (tags,nallof,spam,junk)     nanyof    Does not contain any of     (categories,nanyof,draft,deleted)  DATE/TIME FILTERING (for Date, DateTime, CreatedTime, LastModifiedTime fields):    Date fields require a sub-operator. Syntax: (field,operator,sub_operator) or (field,operator,sub_operator,value)    CRITICAL: To filter by a specific calendar date you MUST use the "exactDate" sub-operator and put the   date in the value slot — NEVER place a YYYY-MM-DD date directly after the operator.     CORRECT:   (due_date,eq,exactDate,2026-06-01)    WRONG: (due_date,eq,2026-06-01)     CORRECT:   (due_date,gt,exactDate,2026-06-01)    WRONG: (due_date,gt,2026-06-01)   A bare date with no sub-operator is read as the sub-operator and rejected ("'2026-06-01' is not supported").    isWithin - Check if date falls within a time range:     Sub-operators (no value): pastWeek, pastMonth, pastYear, nextWeek, nextMonth, nextYear     Sub-operators (value = days): pastNumberOfDays, nextNumberOfDays     Calendar periods (no value, weeks start Monday): thisCalendarWeek, thisCalendarMonth, thisCalendarYear,       lastCalendarWeek, lastCalendarMonth, lastCalendarYear, nextCalendarWeek, nextCalendarMonth, nextCalendarYear     Date range (value = from,to; both days included): dateRange     Examples:       (created_at,isWithin,pastWeek)           Last 7 days       (created_at,isWithin,pastMonth)          Last 30 days       (due_date,isWithin,pastNumberOfDays,14)  Last 14 days       (due_date,isWithin,nextNumberOfDays,30)  Next 30 days       (due_date,isWithin,thisCalendarMonth)    1st to last day of the current month       (due_date,isWithin,dateRange,2026-06-01,2026-06-30)  June 2026    eq, neq, gt, lt, gte, lte - Date comparisons (gt=after, lt=before, gte=on or after, lte=on or before):     Sub-operators (no value): today, tomorrow, yesterday, oneWeekAgo, oneWeekFromNow, oneMonthAgo, oneMonthFromNow     Sub-operators (value = days): daysAgo, daysFromNow     Sub-operator (value = YYYY-MM-DD): exactDate     Examples:       (created_at,eq,today)                    Created today       (due_date,lt,today)                      Overdue (before today)       (updated_at,gt,oneWeekAgo)               Updated after one week ago       (event_date,eq,exactDate,2024-06-15)     On exact date       (deadline,lt,exactDate,2024-12-31)       Before Dec 31, 2024       (created_at,gte,daysAgo,7)               Created within last 7 days    Date ranges - btw/nbtw are NOT supported on date fields. Use two bounds:       (event_date,gte,exactDate,2024-01-01)~and(event_date,lte,exactDate,2024-12-31)    in - Match any of several exact dates (sub-operator required):       (due_date,in,exactDate,2024-06-15,2024-07-01)    Null checks for dates (no sub-operator):       (due_date,blank)                         Date is not set       (due_date,notblank)                      Date is set  LOGICAL OPERATIONS:    IMPORTANT: Use ~and, ~or, ~not (with tilde). Plain "and"/"or" will error, and so   does "~AND"/"~OR" — the operators are lowercase.    AND: (filter1)~and(filter2)           Example: (name,eq,John)~and(age,gte,18)   OR:  (filter1)~or(filter2)            Example: (status,eq,active)~or(status,eq,pending)   NOT: ~not(filter)                     Example: ~not(is_deleted,checked)    CRITICAL — never put whitespace after ~and/~or/~not. A space or newline before   them is fine; one after them is a parse error. Write the whole clause on one line.     CORRECT:   (a,eq,1)~and(b,eq,2)     WRONG: (a,eq,1)~and (b,eq,2)    ~not only starts an expression or a group. To negate a later term, wrap it:     CORRECT:   (a,eq,1)~and(~not(b,checked))     WRONG: (a,eq,1)~and~not(b,checked)    Nested grouping works:  ((status,eq,active)~or(status,eq,pending))~and(country,eq,USA)   For a single field, 'in' is shorter:  (status,in,active,pending)~and(country,eq,USA)  SPECIAL VALUES:   NULL value:         (field,eq,null) — in a where string only; in a structured                       filter use operator blank or null (value 'null' is the text)   Empty string:       (field,eq,'') or (field,eq,"")   Value with comma:   (field,eq,"hello, world")   Value with quotes:  (field,eq,"it's here") or (field,eq,'say "hello"')   Field with spaces:  (Full Name,eq,John)    Quotes optional: ("Full Name",eq,John)   NOTE: a field name must not carry a trailing space — (name ,eq,John) reports   "field 'name ' not found". A trailing space in a VALUE is kept, so (name,eq,John )   filters on "John " and silently matches nothing.  EXAMPLES:   Active users this month:     (status,eq,active)~and(created_at,isWithin,pastMonth)   Overdue high-priority:       (due_date,lt,today)~and(priority,eq,high)~and(completed,notchecked)   Orders $100-$500 pending:    (amount,gte,100)~and(amount,lte,500)~and(status,in,pending,processing)   Updated recently, not archived: (updated_at,isWithin,pastNumberOfDays,14)~and(is_archived,notchecked)   Multiple segments & countries: (Segment,in,Government,Enterprise)~and(Country,in,Germany,France)  |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | string | No | Fields to return — an array of field names, or a comma-separated list. Linked-record fields returned with this option omit their display values. |
| `filter` | string | No | Structured filter — the same shape as createFilter: a single condition { field, operator, value }, or a group { group_operator: "AND"&#124;"OR", filters: [...] } whose members may themselves be groups. Field names and values are quoted for you, so commas, parentheses and quotes in either are safe. Prefer this over `where`; pass only one of the two. |
| `viewId` | string | No | Optional view ID to use view-specific configurations — the view filters, sorts and field visibility are applied. Obtain one from getTableSchema. |
| `tableId` | string | Yes | Table ID |
| `pageSize` | integer | No | Number of records to fetch (default: 50, minimum 1). Capped at 200 here, and further by the deployment limit — the response reports the `page_size` actually applied. |

### Read attachment

**Slug:** `NOCODB_MCP_READ_ATTACHMENT`

Read the content of attachment objects returned by getRecord or queryRecords from an Attachment field. Text is returned as text, PNG/JPEG/GIF/WEBP as image content; other binary files are not returned, and the response gives a download URL.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `files` | array | Yes | Array of attachment objects from NocoDB |
| `baseId` | string | Yes | Base ID — from listBases or createBase |

### Remove agent repo

**Slug:** `NOCODB_MCP_REMOVE_AGENT_REPO`

Take a repo off a coding agent. Sessions already on it keep their checkout; triggers pinned to it fall back to the default, and removing the default stars the next repo.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `repoId` | string | Yes | Repo ID, from listAgentRepos |
| `agentId` | string | Yes | Coding agent ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Remove base member

**Slug:** `NOCODB_MCP_REMOVE_BASE_MEMBER`

Remove one member's explicit role on this base. They keep any access that reaches them through a team or their workspace role — listBaseMembers afterwards shows what they still hold. You cannot remove the last owner or someone above your own role. You cannot lower your own access over MCP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | User id, from listBaseMembers |
| `name` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |
| `email` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_role` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |
| `base_role_source` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Remove base team

**Slug:** `NOCODB_MCP_REMOVE_BASE_TEAM`

Remove a team's role on this base. Its members keep any explicit or workspace access of their own. You cannot remove a team whose role is above your own. You cannot lower your own access over MCP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Team id, from listBaseMembers |
| `title` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_role` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Remove field options

**Slug:** `NOCODB_MCP_REMOVE_FIELD_OPTIONS`

Remove select options (choices) from a single/multi select field. Pass dryRun: true to see how many cell values the removal would clear (cleared_rows, cleared_by_choice, sample record ids) without removing anything.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `dryRun` | boolean | No | Report the cell values the removal would clear, and write nothing. |
| `choices` | array | Yes | Choices to remove (by title) |
| `fieldId` | string | Yes | Field/column ID |

### Remove workspace member

**Slug:** `NOCODB_MCP_REMOVE_WORKSPACE_MEMBER`

Remove someone from a workspace, along with their roles on every base in it. Removing someone else needs creator or above, and you cannot remove the last owner, a sole team owner, a SCIM-managed user, or someone above your own role. You cannot remove yourself over MCP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | User id, from listWorkspaceMembers |
| `name` | string | No | Read-only, returned by listWorkspaceMembers. Accepted so its output can be sent back, and ignored. |
| `email` | string | No | Read-only, returned by listWorkspaceMembers. Accepted so its output can be sent back, and ignored. |
| `workspaceId` | string | Yes | Workspace ID — from listWorkspaces |
| `workspace_role` | string | No | Read-only, returned by listWorkspaceMembers. Accepted so its output can be sent back, and ignored. |
| `workspace_role_source` | string | No | Read-only, returned by listWorkspaceMembers. Accepted so its output can be sent back, and ignored. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `deleted` | boolean | Yes |  |
| `resource` | string | Yes |  |

### Replace filters

**Slug:** `NOCODB_MCP_REPLACE_FILTERS`

Replace the entire filter set of a view with the provided filter group

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `filter` | string | Yes | Filter definition. A filter group has the shape { group_operator: "AND"&#124;"OR", filters: [{ field_id, operator, value }, ...] } and groups may be nested inside `filters`. |
| `viewId` | string | Yes | View ID |

### Resolve comment

**Slug:** `NOCODB_MCP_RESOLVE_COMMENT`

Resolve or reopen a comment. Setting the state it already has changes nothing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `resolved` | boolean | No | true resolves (default), false reopens |
| `commentId` | string | Yes | Comment ID |

### Resolve document comment

**Slug:** `NOCODB_MCP_RESOLVE_DOCUMENT_COMMENT`

Resolve or reopen a document comment. Setting the state it already has changes nothing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `resolved` | boolean | No | true resolves (default), false reopens |
| `commentId` | string | Yes | Comment ID |
| `documentId` | string | Yes | Document ID — from listDocuments |

### Restore from trash

**Slug:** `NOCODB_MCP_RESTORE_FROM_TRASH`

Put one trashed item back. Takes the trash entry `id` from listTrash — not the id of the table or record itself. Restoring records can collide with the table as it stands now — a unique value since taken, a linked row since gone. With neither flag set the call refuses and names the conflicts; `force` restores anyway and nulls the offending cells (lossy); `partial` restores the rows that are clean and leaves the rest in trash. The two are mutually exclusive, and both are ignored for anything that is not a record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `force` | boolean | No | Restore through conflicts, nulling offending cells |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `partial` | boolean | No | Restore only the rows that have no conflict |
| `trashId` | string | Yes | Trash entry ID, as listTrash reports it |

### Restore records

**Slug:** `NOCODB_MCP_RESTORE_RECORDS`

Put deleted records back into a table by row id — the inverse of deleteRecords, for rows still inside the retention window. Only tables on a NocoDB-managed source keep deleted rows; an external source deletes for good and this refuses. Restoring records can collide with the table as it stands now — a unique value since taken, a linked row since gone. With neither flag set the call refuses and names the conflicts; `force` restores anyway and nulls the offending cells (lossy); `partial` restores the rows that are clean and leaves the rest in trash. The two are mutually exclusive, and both are ignored for anything that is not a record.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `force` | boolean | No | Restore through conflicts, nulling offending cells |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `rowIds` | array | Yes | Record IDs (primary key values) to restore |
| `partial` | boolean | No | Restore only the rows that have no conflict |
| `tableId` | string | Yes | Table ID the records belong to |

### Restore script

**Slug:** `NOCODB_MCP_RESTORE_SCRIPT`

Restore a script from the base trash. Button fields detached by the delete are not re-attached. If a live script already holds the same title, the restored one is renamed "Restored <title>" — the response returns its actual id and title, so use those rather than looking it up by the name you deleted.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `scriptId` | string | Yes | Script ID to restore from trash |

### Send agent message

**Slug:** `NOCODB_MCP_SEND_AGENT_MESSAGE`

Send a message to an agent. The turn runs asynchronously: this returns the session (a new one when `sessionId` is omitted). For a coding agent this starts or continues a coding session on its default repo; use startCodingSession to pick the repo, branch, issue or PR. Poll getAgentSession until `turn` is not `running`, then read the reply with listAgentMessages.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |
| `content` | string | Yes | Message text |
| `sessionId` | string | No | Continue this session; omit to start a new one |

### Set date dependency

**Slug:** `NOCODB_MCP_SET_DATE_DEPENDENCY`

Create or update a table's date dependency rule. Fields left out keep their current value on an existing rule. The fields are type-checked against the table: start and end must be Date or DateTime, duration must be Duration or Number, and the dependency field must be a link field. Passing `ganttViewId` writes that view's own rule instead of the table default, and needs the Gantt entitlement as well.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `tableId` | string | Yes | Table ID |
| `is_active` | string | No | Whether the rule is enforced |
| `ganttViewId` | string | No | Write this Gantt view's own rule instead of the table default |
| `include_weekends` | string | No | Count Saturdays and Sundays when shifting dates |
| `fk_duration_field_id` | string | No | Duration or Number field holding the length |
| `fk_end_date_field_id` | string | No | Date or DateTime field holding the end |
| `dependency_buffer_days` | string | No | Size of that gap, in days |
| `dependency_buffer_type` | string | No | Whether the gap between them can absorb a shift |
| `fk_start_date_field_id` | string | No | Date or DateTime field holding the start |
| `dependency_linkrow_role` | string | No | What the linked records are to this one |
| `dependency_connection_type` | string | No | Which date of the predecessor drives which of the successor |
| `fk_dependency_linkrow_field_id` | string | No | Link field carrying the dependency chain |

### Set default agent repo

**Slug:** `NOCODB_MCP_SET_DEFAULT_AGENT_REPO`

Make a repo the coding agent's default, where sessions and triggers start unless they name another. Returns the agent's repos.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `repoId` | string | Yes | Repo ID, from listAgentRepos |
| `agentId` | string | Yes | Coding agent ID |

### Set display field

**Slug:** `NOCODB_MCP_SET_DISPLAY_FIELD`

Make a field the table's display value — the one shown when the row is referenced from a link, a picker or an expanded record. Every table has exactly one, so this moves it rather than adding one. Only text, number, date/time, duration, autonumber and formula fields can take it — not LongText, selects, links or attachments.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | Yes | Field/column ID to become the display value |

### Set form field conditions

**Slug:** `NOCODB_MCP_SET_FORM_FIELD_CONDITIONS`

Replace the "show on conditions" of one form field, so it only renders when the given conditions hold. Passing an empty list clears them and the field is always shown.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | Form view ID |
| `fieldId` | string | Yes | Field to show conditionally — must be visible on the form |
| `field_id` | string | No | Read-only, returned by getFormFieldConditions. Send back what you read or omit it; a different value is refused. Pass the field to change as `fieldId`. |
| `conditions` | array | Yes | The complete new condition list. Every condition must read a field that appears EARLIER on the form (or a Lookup resolving through an earlier link field) — a later field has no answer yet when this one renders. The list is flat; nested condition groups cannot be expressed, and a field whose conditions are already grouped is refused. |

### Set permission

**Slug:** `NOCODB_MCP_SET_PERMISSION`

Create or replace a permission grant on a table or field. A grant is either role-based (grantedType "role" + grantedRole) or subject-based (grantedType "user" + subjects) — never both; "nobody" denies everyone

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `entity` | string ("table" | "field") | Yes | Entity the permission is attached to |
| `entityId` | string | Yes | Table ID for entity "table", field ID for entity "field" |
| `subjects` | array | No | Users/teams allowed. Required (non-empty) with grantedType "user", rejected otherwise |
| `permission` | string ("TABLE_VISIBILITY" | "TABLE_RECORD_ADD" | "TABLE_RECORD_DELETE" | "TABLE_DATA_DOWNLOAD" | "RECORD_FIELD_EDIT") | Yes | Permission key. TABLE_VISIBILITY / TABLE_RECORD_ADD / TABLE_RECORD_DELETE / TABLE_DATA_DOWNLOAD apply to entity "table"; RECORD_FIELD_EDIT applies to entity "field". TABLE_VISIBILITY is owner-only and requires a plan that includes it |
| `grantedRole` | string ("creator" | "editor") | No | Minimum role allowed. Required with grantedType "role", rejected otherwise. Editor is the lowest grantable role and creator the highest — an owner-only grant has no representable form and would be silently widened to editor, so restrict to owners with grantedType "user" instead. To open a table back up to every role, drop the grant |
| `grantedType` | string ("role" | "user" | "nobody") | Yes | How access is granted: "role" = a minimum role, "user" = the listed subjects only, "nobody" = no one |
| `enforceForForm` | boolean | No | Also enforce for form submissions (default true) |
| `enforceForAutomation` | boolean | No | Also enforce for automations (default true) |

### Set rls policy conditions

**Slug:** `NOCODB_MCP_SET_RLS_POLICY_CONDITIONS`

Replace all conditions of a policy. Answers with {list: [{id, ...condition, order}]} — the stored conditions, not raw filter rows. A policy whose conditions contain a UI-authored group is refused. Passing an empty list clears them. A policy with no conditions grants every row only when it is the sole policy matching a user; matched alongside any other policy it is skipped and widens nothing. Give a policy explicit conditions unless you have confirmed it stands alone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `policyId` | string | Yes | RLS policy ID |
| `conditions` | array | Yes | The complete new condition list. Conditions may only reference columns of this table — there is no traversal through a link field, so a child table stays unprotected unless the value it must be filtered on is denormalised onto it. The list is flat; nested condition groups cannot be expressed. |

### Set rls policy subjects

**Slug:** `NOCODB_MCP_SET_RLS_POLICY_SUBJECTS`

Replace the set of subjects a policy applies to. Not valid for a default policy, which always covers everyone

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `policyId` | string | Yes | RLS policy ID |
| `subjects` | array | Yes | The complete new subject set — omitted subjects are removed |

### Set row color by select

**Slug:** `NOCODB_MCP_SET_ROW_COLOR_BY_SELECT`

Colour every row by one SingleSelect field, using the colours its options already carry. Change an option colour with updateField, not here. Refuses if the view is already on condition colouring — call clearRowColoring first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mode` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. |
| `note` | string | No | Read-only, returned by getRowColoring. Accepted so its output can be sent back, and ignored. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `fieldId` | string | Yes | SingleSelect field whose option colours are used |
| `options` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. Change an option colour with updateField. |
| `view_id` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. |
| `field_id` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. Pass the field to colour by as `fieldId`. |
| `table_id` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. |
| `conditions` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. |
| `set_as_background` | boolean | No | true tints the whole row background; false (default) shows the colour as a stripe on the left edge |
| `background_intensity` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. |
| `apply_as_row_background` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. Change it with `set_as_background`; `apply_as_row_background` is what getRowColoring returns. |

### Share document

**Slug:** `NOCODB_MCP_SHARE_DOCUMENT`

Publish a document page as a public, unauthenticated read-only link that anyone with the URL can open — no NocoDB account needed. Idempotent: on an already-shared page it returns the existing link, so it doubles as the way to change `includeSubtree`. A first share defaults to includeSubtree=true, which publishes every sub-page too, including ones you have not read — the response reports how many. Refused on a page carrying custom visibility permissions.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `documentId` | string | Yes | Document ID |
| `includeSubtree` | boolean | No | Whether the public link also exposes every sub-page. Omit to keep the current setting (true on a first share) |

### Share view

**Slug:** `NOCODB_MCP_SHARE_VIEW`

Create a public share link for a view, or reconfigure the existing one. Calling this on an already-shared view keeps the same URL and only applies the settings passed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `password` | string | No | Password required to open the link. Pass null or an empty string to remove it. It is stored hashed and never returned — reads report `password_protected` instead. |
| `custom_url_path` | string | No | Vanity path for the link, e.g. "customer-feedback". Requires a plan that includes custom URLs. Pass null to drop it and fall back to the uuid URL. |
| `allow_csv_download` | boolean | No | Whether viewers of the link may download the data as CSV. Defaults to false when this call creates the link; an existing link keeps its setting unless this is passed. |

### Start coding session

**Slug:** `NOCODB_MCP_START_CODING_SESSION`

Start a coding session: the agent works on one of its repos on its own machine. Starts from the repo's start branch unless `source` names a branch, issue or pull request. Runs asynchronously: poll getAgentSession until `turn` is not `running`, then read listAgentMessages and getCodingSessionDiff.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `model` | string | No | Model ref; the workspace's default when omitted |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `prompt` | string | Yes | The task |
| `repoId` | string | No | One of the agent's repos; omit for its default |
| `source` | object | No |  |
| `agentId` | string | Yes | Coding agent ID |

### Stop agent session

**Slug:** `NOCODB_MCP_STOP_AGENT_SESSION`

Stop the turn an agent session is running. The session, and a coding session's checkout, stay; send another message to carry on. You may stop a session you started; Creators and above may stop anyone's coding session. A chat run started by a trigger cannot be stopped, except a personal agent's, by its owner.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |
| `sessionId` | string | Yes | Session ID |

### Submit feedback

**Slug:** `NOCODB_MCP_SUBMIT_FEEDBACK`

Report a NocoDB bug, missing capability, confusing behavior or docs gap to the NocoDB team. Call it when a tool errors unexpectedly, returns results that disagree with another tool, or cannot do what the user needs, or when the user asks to send feedback. No need to ask the user first: call once per issue, passing the requestId from the error as evidence, then tell the user what you reported. It changes no data and fixes nothing, so do not retry it. Describe problems in schema terms (tables, fields, tool names), never record values or personal data.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `area` | string ("account" | "records" | "schema" | "views" | "automation" | "interfaces" | "access" | "platform" | "other") | No | The tool section the issue falls under. |
| `type` | string ("bug" | "silent_bug" | "missing_capability" | "confusing_behavior" | "docs_gap") | Yes | bug: the call failed or errored wrongly. silent_bug: the call reported success but did the wrong thing. missing_capability, confusing_behavior, docs_gap: as named. |
| `baseId` | string | No | The base the issue happened in, if any. |
| `intent` | string | Yes | What you or the user were trying to accomplish. |
| `source` | object | Yes | Who is reporting. |
| `details` | string | No | What happened vs what you expected. |
| `feature` | string ("records" | "tables" | "fields" | "views" | "filters" | "sorts" | "shared-views" | "form-fields" | "view-sections" | "base-sections" | "automation-sections" | "row-colors" | "dashboards" | "interfaces" | "workflows" | "workflow-nodes" | "scripts" | "hooks" | "rls" | "permissions" | "members" | "audits" | "docs" | "comments" | "duplicates" | "data-io" | "record-templates" | "date-dependencies" | "links" | "attachments" | "trash" | "workspaces" | "integrations" | "environments" | "agents" | "apps" | "feedback" | "roadmap" | "other") | No | The tool family (e.g. fields, filters); other if none fits. |
| `summary` | string | Yes | One line, at most 120 characters. |
| `evidence` | object | No | The failed call. Required for agent_observed. |
| `userQuote` | string | No | The user’s own words (user_request only). |
| `suggestion` | string | No | A proposed fix or API shape. |
| `workspaceId` | string | No | The workspace the issue happened in, if any. |

### Submit form

**Slug:** `NOCODB_MCP_SUBMIT_FORM`

Submit an interface form page: creates one record through the form, with the form's rules — the same as a respondent pressing Submit. `fields` is keyed by field id or name (getFormSchema). A field you leave out takes the form's `default_value`. Refused, with nothing saved: a key the form does not show or you cannot edit, a value for a field the form's visibility rules hide, a missing required field, a failed validator, and update-action forms. Values: text and numbers as is; SingleSelect an option title, MultiSelect an array of titles (`options` lists what the form offers); Checkbox a boolean; Date/DateTime ISO 8601; a link field a record id, `{ id }`, or an array of them for a many-record link — ids from listFormLinkCandidates. Attachment fields cannot be filled from here. Returns the created record, limited to the fields the form shows. To create a record through a link field's add form and link it to an existing record, pass the add form's page as `pageId` and the host record in `linkTo`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `env` | string ("draft" | "published") | No | published (default) — the form respondents see. draft — the unpublished version, for builders testing a change. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | object | Yes | Field values keyed by field id or name |
| `linkTo` | object | No | Create through a link field's add form and link the new record to an existing one |
| `pageId` | string | Yes | Form page ID — or, with `linkTo`, the add form (record layout) page ID: the link field's `fk_add_form_page_id` in the host page's getInterfacePage config |

### Test agent channel

**Slug:** `NOCODB_MCP_TEST_AGENT_CHANNEL`

Check an agent channel's connection to its platform, without sending a message.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |
| `channelId` | string | Yes | Channel ID, from getAgent |

### Unlink records

**Slug:** `NOCODB_MCP_UNLINK_RECORDS`

Remove specific links from records in this table through a link field. Links not named are kept. A link the record does not have is named in `warnings`; other links still unlink. Reports per-record ok/error — one bad record does not fail the rest.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | Yes | Link field ID or title, e.g. from getTableSchema |
| `records` | array | Yes | One entry per record on this table. At most 100 entries per call. |
| `tableId` | string | Yes | Table ID |

### Unshare document

**Slug:** `NOCODB_MCP_UNSHARE_DOCUMENT`

Revoke a document page public link. A new shareDocument call issues a different URL — the old one cannot be restored.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `documentId` | string | Yes | Document ID |

### Unshare view

**Slug:** `NOCODB_MCP_UNSHARE_VIEW`

Revoke a view public share link. A later shareView call issues a different URL — the old one cannot be restored.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |

### Update agent

**Slug:** `NOCODB_MCP_UPDATE_AGENT`

Update an agent. Changes apply immediately — there is no separate publish step. `config` is merged into the saved one. A draft (`config.setup` set) still in its setup chat cannot be turned on with `enabled: true` until its setup is finished in NocoDB.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `role` | string | No | New base role for the agent |
| `title` | string | No | New name |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | object | No |  |
| `agentId` | string | Yes | Agent ID |
| `enabled` | boolean | No | Enable or disable the agent |
| `description` | string | No | New description |

### Update agent channel

**Slug:** `NOCODB_MCP_UPDATE_AGENT_CHANNEL`

Rename, switch off or change an agent channel's settings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | New name |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `agentId` | string | Yes | Agent ID |
| `enabled` | boolean | No |  |
| `settings` | object | No |  |
| `channelId` | string | Yes | Channel ID, from getAgent |

### Update agent repo

**Slug:** `NOCODB_MCP_UPDATE_AGENT_REPO`

Change the branch a coding agent's sessions on this repo start from. Returns the agent's repos.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `repoId` | string | Yes | Repo ID, from listAgentRepos |
| `agentId` | string | Yes | Coding agent ID |
| `baseBranch` | string | Yes | Start branch; null for the repo's default branch |

### Update automation folder

**Slug:** `NOCODB_MCP_UPDATE_AUTOMATION_FOLDER`

Rename an automation folder or change its order.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | New order among the base sidebar |
| `title` | string | No | New folder title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `folderId` | string | Yes | Automation folder ID |

### Update base

**Slug:** `NOCODB_MCP_UPDATE_BASE`

Rename a base or change its icon colour. Send back getBase's output with the fields changed; only `title` and `meta.icon_color` are writable, and a change to anything else is refused.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getBase. Send back what you read or omit it; a different value is refused. |
| `meta` | object | No | Only `icon_color` is writable; other keys are accepted as an echo of getBase and must be unchanged |
| `type` | string | No | Read-only, returned by getBase. Accepted so its output can be sent back, and ignored. |
| `title` | string | No | New base title |
| `baseId` | string | Yes | Base ID |
| `sources` | string | No | Read-only, returned by getBase. Accepted so its output can be sent back, and ignored. |
| `created_at` | string | No | Read-only, returned by getBase. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getBase. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getBase. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getBase. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | Read-only, returned by getBase. Send back what you read or omit it; a different value is refused. The base description is not writable over MCP. |
| `workspace_id` | string | No | Read-only, returned by getBase. Send back what you read or omit it; a different value is refused. |

### Update base member

**Slug:** `NOCODB_MCP_UPDATE_BASE_MEMBER`

Change one member's role on this base. `id` and the other keys are as listBaseMembers returns them. `inherit` drops the explicit role, so the member falls back to their team, private-base or workspace role. You cannot grant above your own role or change someone above it. You cannot lower your own access over MCP. An explicit base role beats every inherited one — it is read first and wins outright, it is not compared by rank — so setting a workspace creator to viewer here really makes them a viewer on this base.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | User id, from listBaseMembers |
| `pin` | boolean | No | Set true to pin a role the member already holds by inheritance. Without it, sending their current inherited role changes nothing. |
| `name` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |
| `email` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_role` | string ("owner" | "creator" | "editor" | "commenter" | "viewer" | "no-access" | "inherit") | Yes | New role, or `inherit` to drop the explicit one |
| `base_role_source` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |

### Update base team

**Slug:** `NOCODB_MCP_UPDATE_BASE_TEAM`

Change a team's role on this base. `id` and `title` are as listBaseMembers returns them under `teams`. It applies to every member without an explicit base role. You cannot grant above your own role or change a team above it. You cannot lower your own access over MCP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Team id, from listBaseMembers |
| `title` | string | No | Read-only, returned by listBaseMembers. Accepted so its output can be sent back, and ignored. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_role` | string ("creator" | "editor" | "commenter" | "viewer" | "no-access") | Yes | New role for the team |

### Update comment

**Slug:** `NOCODB_MCP_UPDATE_COMMENT`

Update an existing comment

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `comment` | string | Yes | Updated comment text |
| `commentId` | string | Yes | Comment ID |

### Update dashboard

**Slug:** `NOCODB_MCP_UPDATE_DASHBOARD`

Update an existing dashboard

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getDashboard. Send back what you read or omit it; a different value is refused. |
| `title` | string | No | New title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_id` | string | No | Read-only, returned by getDashboard. Send back what you read or omit it; a different value is refused. |
| `widgets` | string | No | Read-only, returned by getDashboard. Send back what you read or omit it; a different value is refused. Edit widgets one at a time with updateWidget. |
| `created_at` | string | No | Read-only, returned by getDashboard. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getDashboard. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getDashboard. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getDashboard. Accepted so its output can be sent back, and ignored. |
| `dashboardId` | string | Yes | Dashboard ID |
| `description` | string | No | New description |
| `workspace_id` | string | No | Read-only, returned by getDashboard. Send back what you read or omit it; a different value is refused. |

### Update document

**Slug:** `NOCODB_MCP_UPDATE_DOCUMENT`

Update a document page title and/or replace its whole content. Reading converts the stored rich text to Markdown and writing converts it back, so a write drops whatever Markdown cannot carry: embeds, file attachments, underline/highlight and unknown blocks. The response names what this write dropped in `warnings`, and the write still goes through. Use patchDocument for targeted edits. A page held open by a live editor session rejects the write ("This document is being edited live") — retry once the editor closes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. |
| `meta` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. |
| `order` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. Use moveDocument to reorder a page. |
| `title` | string | No | New page title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_id` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. |
| `version` | number | No | Version the edit is based on. Omit to write on top of whatever is stored now; pass the `version` from getDocument to have the write fail if the page changed since you read it |
| `parent_id` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. Use moveDocument to move a page. |
| `created_at` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `documentId` | string | Yes | Document ID |
| `updated_at` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `has_children` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `comment_count` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |
| `contentMarkdown` | string | No | Markdown replacing the entire page content. Markdown is GFM: tables, task lists (`- [ ]`) and `~~strikethrough~~` work; strikethrough reads back as `~text~`, so match that in `oldStr`. Headings, lists, quotes, code blocks, links, images, bold/italic/code, `::: callout note&#124;warning&#124;tip&#124;important` and `::: columns {ratio=50}` with two `::: column` bodies all work. |
| `content_markdown` | string | No | Read-only, returned by getDocument. Send back what you read or omit it; a different value is refused. New content goes in `contentMarkdown`; `content_markdown` is the read-only copy getDocument returns. |
| `content_warnings` | string | No | Read-only, returned by getDocument. Accepted so its output can be sent back, and ignored. |

### Update document comment

**Slug:** `NOCODB_MCP_UPDATE_DOCUMENT_COMMENT`

Update a document comment you wrote

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `comment` | string | Yes | Updated comment text |
| `commentId` | string | Yes | Comment ID |
| `documentId` | string | Yes | Document ID — from listDocuments |

### Update field

**Slug:** `NOCODB_MCP_UPDATE_FIELD`

Update an existing field (column). When a conversion or a removed choice clears cell values, the response reports cleared_rows, cleared_by_choice and conversion counts. Pass dryRun: true first on a type change or a choice rewrite to see, without writing anything, how many values would be cleared (cleared_rows) or rounded/truncated (rounded_rows), with sample record ids; for a link → SingleLineText conversion it also lists the text written, the reverse link field that is deleted and the fields that break.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `field` | object | Yes | Field properties to update (only the keys to change). |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `dryRun` | boolean | No | Report what the update would clear or round, and write nothing. |
| `fieldId` | string | Yes | Field/column ID |

### Update filter

**Slug:** `NOCODB_MCP_UPDATE_FILTER`

Update a single filter on a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `filter` | string | Yes | Filter to update — must include its `id` |
| `viewId` | string | Yes | View ID |

### Update folder

**Slug:** `NOCODB_MCP_UPDATE_FOLDER`

Update an existing folder in the current base.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | Position in the shared sidebar sequence folders and unfoldered tables, documents and dashboards share |
| `title` | string | No | New title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `folderId` | string | Yes | Folder ID |

### Update hook

**Slug:** `NOCODB_MCP_UPDATE_HOOK`

Update an existing webhook. This is a partial update: send only the fields you want to change — anything omitted keeps its stored value.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getHook. Send back what you read or omit it; a different value is refused. |
| `event` | string ("record" | "manual") | No |  |
| `title` | string | No | Webhook title |
| `active` | boolean | No |  |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `hookId` | string | Yes | Webhook ID |
| `table_id` | string | No | Read-only, returned by getHook. Send back what you read or omit it; a different value is refused. |
| `operation` | array | No | Operations that trigger the webhook |
| `created_at` | string | No | Read-only, returned by getHook. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getHook. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getHook. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getHook. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | Webhook description |
| `notification` | object | No | Notification target, e.g. { "type": "URL", "payload": { "method": "POST", "path": "https://example.com/hook" } }. Cloud accepts only type "URL" or "Script"; to send an email on record events, use a workflow with a send-email node. |
| `trigger_fields` | array | No | Field IDs that scope the webhook: it fires only when one of these columns changes. Requires operation to include "update" and event "record" — any other combination is rejected, since the dispatch filter would never consult it. Omit the key to keep the stored scoping; send [] to clear it. |

### Update interface

**Slug:** `NOCODB_MCP_UPDATE_INTERFACE`

Update an interface title, description or visibility

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getInterface. Send back what you read or omit it; a different value is refused. |
| `meta` | string | No | Appearance meta — JSON object: { icon?, color?, theme?: { accent?, style? }, restrict_sharing? }. |
| `order` | string | No | Read-only, returned by getInterface. Send back what you read or omit it; a different value is refused. |
| `title` | string | No | New title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `hidden` | string | No | Hide the interface from the navigation |
| `base_id` | string | No | Read-only, returned by getInterface. Send back what you read or omit it; a different value is refused. |
| `deleted` | string | No | Read-only, returned by getInterface. Accepted so its output can be sent back, and ignored. |
| `owned_by` | string | No | Read-only, returned by getInterface. Send back what you read or omit it; a different value is refused. |
| `created_at` | string | No | Read-only, returned by getInterface. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getInterface. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getInterface. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getInterface. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | New description |
| `interfaceId` | string | Yes | Interface ID |
| `fk_workspace_id` | string | No | Read-only, returned by getInterface. Send back what you read or omit it; a different value is refused. |
| `last_published_at` | string | No | Read-only, returned by getInterface. Accepted so its output can be sent back, and ignored. |
| `first_published_at` | string | No | Read-only, returned by getInterface. Accepted so its output can be sent back, and ignored. |

### Update interface page

**Slug:** `NOCODB_MCP_UPDATE_INTERFACE_PAGE`

Update an interface page. A `config` REPLACES the whole draft config — getInterfacePage first, mutate what it returns, then send it back. On a table page, filters go in `config.filters` and apply to every visualization; a `visualizations[*].filters` is ANDed into `config.filters` on save. Writes only touch the draft; publishInterface makes it live. Unpublishing and sharing a page publicly are deliberately not exposed — a human does those in the UI. A page carries `password_protected` (boolean), not `password`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. |
| `meta` | string | No | Appearance meta — JSON object: { icon?, color?, theme?: { accent?, style? }, restrict_sharing? }. |
| `uuid` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `error` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `order` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. |
| `title` | string | No | New title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | object | No | Layout-specific JSON config (draft). Its shape depends on the page layout and is keyed by column/view/page IDs. Do not guess its keys — call getInterfacePageConfigSchema(layout) for the exact JSON Schema this config is validated against, getInterfaceAuthoringInstructions for the authoring model, and getInterfacePageMeta to discover the column IDs of the source table. |
| `layout` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. A page keeps its layout; create a new page instead. |
| `pageId` | string | Yes | Interface page ID |
| `base_id` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. |
| `deleted` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `created_at` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `fk_model_id` | string | No | Source table ID |
| `show_in_nav` | boolean | No | Show the page in the interface navigation |
| `is_published` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. publishInterface makes the draft live. |
| `published_at` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `keep_as_draft` | boolean | No | Exclude this page from the next publish |
| `visual_variant` | string ("page" | "modal" | "sidesheet") | No | Render variant: page, modal or sidesheet |
| `fk_interface_id` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. |
| `fk_workspace_id` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. |
| `published_config` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. Edit `config` (the draft) and publishInterface it. |
| `draft_modified_at` | string | No | Read-only, returned by getInterfacePage. Accepted so its output can be sent back, and ignored. |
| `password_protected` | string | No | Read-only, returned by getInterfacePage. Send back what you read or omit it; a different value is refused. Page passwords are set in the UI. |

### Update records

**Slug:** `NOCODB_MCP_UPDATE_RECORDS`

Update records in a table. Up to 100 per call. A link field is replaced, not appended to: pass the complete list of linked records you want, and `[]` to clear it. `null` is not a link value and is ignored. Link entries are primary keys (bare or `{ id }`), never titles. A one-to-one or has-many target already linked elsewhere is moved, and its previous link is removed without a warning. To add or remove individual links without restating the set, use linkRecords / unlinkRecords. Computed fields and the primary key are not written; they are listed in `ignored_fields`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `records` | array | Yes | Array of records with ID and fields to update. At most 100 per call — a longer array is rejected outright, so split larger writes into batches. |
| `tableId` | string | Yes | Table ID |
| `returnFields` | string | No | Fields to return for each record — an array of field names or ids, or a comma-separated list. Omit to get every field; pass only what you need to keep large writes readable. |

### Update records by condition

**Slug:** `NOCODB_MCP_UPDATE_RECORDS_BY_CONDITION`

Set the same field values on every record matching a condition — "set Status to Archived where Closed is before 2024". One call instead of paging ids into updateRecords, and not capped at 100 records. The condition is required: there is no form of this tool that updates every record, and `fields` cannot set a primary key. It answers with a count and nothing else, so run queryRecords or aggregate with the same condition first when you need to know what it will touch.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `where` | string | No | Filter records using NocoDB query syntax, e.g. (status,eq,active)~and(amount,gte,100).  For the complete operator list, date sub-operators, quoting rules and examples, see the `where` parameter of the `queryRecords` tool — the syntax is identical. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | object | Yes | The field values to set — the same for every match |
| `filter` | string | No | Structured filter — the same shape as createFilter: a single condition { field, operator, value }, or a group { group_operator: "AND"&#124;"OR", filters: [...] } whose members may themselves be groups. Field names and values are quoted for you, so commas, parentheses and quotes in either are safe. Prefer this over `where`; pass only one of the two. |
| `tableId` | string | Yes | Table ID |

### Update record template

**Slug:** `NOCODB_MCP_UPDATE_RECORD_TEMPLATE`

Update a record template. `template_data` is replaced whole, not merged — read the template first and send the full payload. `enabled: false` keeps the template but takes it out of the picker.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getRecordTemplate. Send back what you read or omit it; a different value is refused. |
| `title` | string | No | New title, unique per table |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_id` | string | No | Read-only, returned by getRecordTemplate. Send back what you read or omit it; a different value is refused. |
| `enabled` | boolean | No | Whether the template is offered in the record picker |
| `created_at` | string | No | Read-only, returned by getRecordTemplate. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getRecordTemplate. Accepted so its output can be sent back, and ignored. |
| `templateId` | string | Yes | Template ID — from listRecordTemplates |
| `updated_at` | string | No | Read-only, returned by getRecordTemplate. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getRecordTemplate. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | New description |
| `fk_model_id` | string | No | Read-only, returned by getRecordTemplate. Send back what you read or omit it; a different value is refused. |
| `usage_count` | string | No | Read-only, returned by getRecordTemplate. Accepted so its output can be sent back, and ignored. |
| `template_data` | object | No | Replacement payload, whole |
| `fk_workspace_id` | string | No | Read-only, returned by getRecordTemplate. Send back what you read or omit it; a different value is refused. |

### Update rls policy

**Slug:** `NOCODB_MCP_UPDATE_RLS_POLICY`

Update a policy's title, enabled state, order, or default behaviour. Subjects and conditions have their own tools

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. |
| `meta` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. |
| `order` | string | No | Evaluation order |
| `title` | string | No | New policy title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `base_id` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. |
| `enabled` | boolean | No | Disabling a policy stops it granting any rows |
| `policyId` | string | Yes | RLS policy ID |
| `subjects` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. Use setRlsPolicySubjects. |
| `source_id` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. |
| `conditions` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. Use setRlsPolicyConditions. |
| `created_at` | string | No | Read-only, returned by getRlsPolicy. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getRlsPolicy. Accepted so its output can be sent back, and ignored. |
| `is_default` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. |
| `updated_at` | string | No | Read-only, returned by getRlsPolicy. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getRlsPolicy. Accepted so its output can be sent back, and ignored. |
| `fk_model_id` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. |
| `defaultBehavior` | string ("show_all" | "deny_all" | "condition") | No | Default policies only |
| `fk_workspace_id` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. |
| `default_behavior` | string | No | Read-only, returned by getRlsPolicy. Send back what you read or omit it; a different value is refused. Send a change as `defaultBehavior`. |

### Update row color condition

**Slug:** `NOCODB_MCP_UPDATE_ROW_COLOR_CONDITION`

Change an existing colour rule's colour, order or cell target. The matching conditions themselves cannot be edited, and a cell rule cannot be turned back into a row rule — delete the rule and add it again to change either.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. Pass the rule to change as `conditionId`. |
| `color` | string | No | Row/cell colour as hex, e.g. "#FF4A3F" |
| `order` | integer | No | New evaluation position, 1-based |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `viewId` | string | Yes | View ID |
| `filters` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. The matching conditions cannot be edited — delete the rule and add it again. |
| `conditionId` | string | Yes | Condition ID, from the conditions list in getRowColoring |
| `target_field_id` | string | No | Field to colour, which makes the rule cell-scoped. Omit to keep the rule as it is stored |
| `set_as_background` | boolean | No | true tints the whole row background; false (default) shows the colour as a stripe on the left edge |
| `apply_as_row_background` | string | No | Read-only, returned by getRowColoring. Send back what you read or omit it; a different value is refused. Change it with `set_as_background`; `apply_as_row_background` is what getRowColoring returns. |

### Update script

**Slug:** `NOCODB_MCP_UPDATE_SCRIPT`

Update an existing NocoDB script. Only the fields you pass are changed — omitting `script` leaves the source untouched.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getScript. Send back what you read or omit it; a different value is refused. |
| `meta` | object | No | Script meta |
| `title` | string | No | Script title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | object | No | Saved input values, keyed by the keys the source declares through input.config.*. Not the form definition — that is parsed from the source |
| `script` | string | No | Script source code (plain JavaScript for the NocoDB script runtime). Call getScriptAuthoringInstructions first — the runtime has several silent-failure modes |
| `base_id` | string | No | Read-only, returned by getScript. Send back what you read or omit it; a different value is refused. |
| `scriptId` | string | Yes | Script ID |
| `created_at` | string | No | Read-only, returned by getScript. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getScript. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getScript. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getScript. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | Script description |
| `workspace_id` | string | No | Read-only, returned by getScript. Send back what you read or omit it; a different value is refused. |

### Update sort

**Slug:** `NOCODB_MCP_UPDATE_SORT`

Update an existing sort on a view

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `sortId` | string | Yes | Sort ID |
| `viewId` | string | Yes | View ID |
| `field_id` | string | No | Field/column ID to sort by |
| `order_by` | string ("alphabetical" | "option_order") | No | SingleSelect only: 'option_order' sorts by the field's option order instead of alphabetically (default: alphabetical) |
| `direction` | string ("asc" | "desc") | No | Sort direction |

### Update table

**Slug:** `NOCODB_MCP_UPDATE_TABLE`

Update an existing table

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getTableSchema. Send back what you read or omit it; a different value is refused. Pass the table to change as `tableId`. |
| `meta` | object | No | Table meta configuration |
| `title` | string | No | New table title |
| `views` | string | No | Read-only, returned by getTableSchema. Send back what you read or omit it; a different value is refused. Edit views with createView/updateView/deleteView. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | string | No | Read-only, returned by getTableSchema. Send back what you read or omit it; a different value is refused. Edit fields with createField/updateField/deleteField. |
| `base_id` | string | No | Read-only, returned by getTableSchema. Send back what you read or omit it; a different value is refused. |
| `tableId` | string | Yes | Table ID |
| `source_id` | string | No | Read-only, returned by getTableSchema. Send back what you read or omit it; a different value is refused. |
| `created_at` | string | No | Read-only, returned by getTableSchema. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getTableSchema. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getTableSchema. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getTableSchema. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | New table description |
| `workspace_id` | string | No | Read-only, returned by getTableSchema. Send back what you read or omit it; a different value is refused. |
| `display_field_id` | string | No | Field to use as the table display value (primary value). Must be a field of this table; Long Text fields are rejected. |

### Update view

**Slug:** `NOCODB_MCP_UPDATE_VIEW`

Update an existing view. A gallery/kanban view answers with `options.cover_field_id`, the key these tools accept back.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getView. Send back what you read or omit it; a different value is refused. |
| `type` | string | No | Read-only, returned by getView. Send back what you read or omit it; a different value is refused. A view keeps its type; create a new view instead. |
| `sorts` | string | No | Read-only, returned by getView. Send back what you read or omit it; a different value is refused. Edit sorts with addSort/updateSort/deleteSort. |
| `title` | string | No | New view title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fields` | array | No | Complete ordered field list. Array order sets the field order; every field omitted is hidden. The display-value field is pinned visible on every view type except form, so its position in the array is not applied: skip it when comparing `getView` to what you sent. An empty array hides every field except the display-value field (on a form it hides that too). Read the current list from `getView`. |
| `viewId` | string | Yes | View ID |
| `filters` | string | No | Read-only, returned by getView. Send back what you read or omit it; a different value is refused. Edit filters with createFilter/updateFilter/replaceFilters. |
| `options` | object | No | View-type-specific options to update |
| `owned_by` | string | No | Read-only, returned by getView. Accepted so its output can be sent back, and ignored. |
| `table_id` | string | No | Read-only, returned by getView. Send back what you read or omit it; a different value is refused. |
| `lock_type` | string ("collaborative" | "locked" | "personal") | No | View mode: collaborative (anyone with access may edit), personal (only the owner sees their config) or locked (config is read-only for editors and below; creators and owners can still change or delete it) |
| `created_at` | string | No | Read-only, returned by getView. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getView. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getView. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getView. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | Read-only, returned by getView. Send back what you read or omit it; a different value is refused. |
| `row_coloring` | string | No | Read-only, returned by getView. Send back what you read or omit it; a different value is refused. Edit row coloring with setRowColorBySelect or the *RowColorCondition tools. |
| `locked_by_user_id` | string | No | Read-only, returned by getView. Accepted so its output can be sent back, and ignored. |
| `locked_view_description` | string | No | Read-only, returned by getView. Accepted so its output can be sent back, and ignored. |

### Update view folder

**Slug:** `NOCODB_MCP_UPDATE_VIEW_FOLDER`

Rename a view folder or change its order.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order` | number | No | New order within the tier |
| `title` | string | No | New folder title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `folderId` | string | Yes | View folder ID |

### Update widget

**Slug:** `NOCODB_MCP_UPDATE_WIDGET`

Update an existing widget. `options` REPLACES the whole config — getWidget first, mutate what it returns, then send it back. It is validated against the widget's stored `type` on the same terms as createWidget, so an update that would leave the widget rendering nothing is refused. Leave `options` out to keep the stored config as it is: a widget the UI authored in a shape this API cannot create (a scatter/treemap chart, a `count_unique` metric) can still be retitled, repositioned or repointed at another table that way. `type` itself cannot be changed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getWidget. Send back what you read or omit it; a different value is refused. |
| `type` | string | No | Read-only, returned by getWidget. Send back what you read or omit it; a different value is refused. A widget keeps its type; create a new one instead. |
| `error` | string | No | Read-only, returned by getWidget. Accepted so its output can be sent back, and ignored. |
| `order` | number | No | Widget order |
| `title` | string | No | Widget title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `options` | object | No | Replacement widget configuration — a partial config wipes the keys it omits. Same shape as createWidget, for this widget's stored type. Omit to leave the stored config untouched. |
| `view_id` | string | No | Source view ID |
| `position` | object | No | Position on the dashboard grid, which is 4 columns wide (NOT 12) — x + w must not exceed 4. Per-type resize bounds: metric: w 1-4, h 2-6; chart: w 2-2, h 5-6; text: w 2-4, h from 1; iframe: w 2-4, h 5-12. Omit to have the widget appended below the existing ones. |
| `problems` | string | No | Read-only, returned by getWidget. Accepted so its output can be sent back, and ignored. |
| `table_id` | string | No | Source table ID |
| `widgetId` | string | Yes | Widget ID |
| `created_at` | string | No | Read-only, returned by getWidget. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getWidget. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getWidget. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getWidget. Accepted so its output can be sent back, and ignored. |
| `description` | string | No | Widget description |
| `dashboard_id` | string | No | Read-only, returned by getWidget. Send back what you read or omit it; a different value is refused. |

### Update workflow

**Slug:** `NOCODB_MCP_UPDATE_WORKFLOW`

Update an automation's title, description or draft graph. Writes replace the whole draft graph, so always getWorkflow first, mutate the graph it returns, then send it back — and note it is last-write-wins against anyone editing the same automation in the UI. Publishing clears `draft`, so read `draft` when it is set and fall back to `nodes`/`edges` otherwise. `data.testResult` is ignored on write; results are carried forward for every node you leave untouched. To edit one node instead of the whole graph, use addWorkflowNode / updateWorkflowNode / deleteWorkflowNode and connectWorkflowNodes / disconnectWorkflowNodes. Only the draft is writable. Testing one node is exposed (the `validate` flag, and validateWorkflowNode), and publishWorkflow puts the tested draft live. Enabling and run_as are deliberately not exposed — a human sets those in the UI.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `meta` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `type` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `draft` | string | No | The whole draft graph, replacing whatever is stored. Writes replace the whole draft graph, so always getWorkflow first, mutate the graph it returns, then send it back — and note it is last-write-wins against anyone editing the same automation in the UI. Publishing clears `draft`, so read `draft` when it is set and fall back to `nodes`/`edges` otherwise. `data.testResult` is ignored on write; results are carried forward for every node you leave untouched. To edit one node instead of the whole graph, use addWorkflowNode / updateWorkflowNode / deleteWorkflowNode and connectWorkflowNodes / disconnectWorkflowNodes. |
| `edges` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. The published graph is read-only; send edits as `draft`. |
| `nodes` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. The published graph is read-only; send edits as `draft`. |
| `order` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `title` | string | No | Automation title |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `script` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `base_id` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `deleted` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `enabled` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. A human enables an automation in the UI. |
| `created_at` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `created_by` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `updated_at` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `updated_by` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `workflowId` | string | Yes | Automation ID |
| `description` | string | No | Automation description |
| `fk_workspace_id` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. |
| `draft_reminder_sent_at` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `fk_automation_section_id` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. Use moveAutomationToFolder. |

### Update workflow node

**Slug:** `NOCODB_MCP_UPDATE_WORKFLOW_NODE`

Update one node of an automation's draft. Edits one node of the draft in place, so you do not have to send the whole graph. The read-mutate-write is done server-side, which keeps the last-write-wins window against a human editing in the UI down to this one request. Use updateWorkflow instead for bulk authoring or fan-out/merge topologies. Changing `type` or `config` clears that node's test result and every result downstream of it, exactly as editing in the UI does.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. Pass the node to edit as `nodeId`. |
| `data` | string | No | Read-only, returned by getWorkflow. Send back what you read or omit it; a different value is refused. Send `title`, `description` and `config` at the top level; `data` is the read-only copy getWorkflow returns. |
| `type` | string | No | New node type id, as listWorkflowNodeTypes reports it |
| `title` | string | No | New node title, unique within the graph. Renaming it breaks every expression that references the old title — update those too. |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `config` | object | No | Config keys to change, MERGED into the stored config at the top level only. Keys you omit keep their stored value; pass null to clear one. A nested object (a field map such as nocodb.create_record's config.fields) is replaced whole, not merged, so send all of its keys. |
| `nodeId` | string | Yes | Node id to update |
| `position` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `validate` | boolean | No | Test the node afterwards and store the result the way the UI does. The test is a check, not a run: the node does not perform its action — a create-record node writes no row, a messaging node posts nothing. It resolves the node's config against the upstream results and checks it with read-only calls (does the table have every field set, does a GET endpoint answer), and the result is marked `simulated: true`. A missing expression path is not caught — it resolves to empty, so read `input` in the result. A node that can only be checked by running it (a script, a node that declares no outputs) comes back failed with `needsRun: true` and a `nextStep`; it cannot be run over MCP. Static checks run either way. A node can only be tested once every node upstream of it has been tested, so work in order from the trigger. The edit itself is never rolled back by a test: if the test cannot run or fails, the edit stands and the reason comes back as `testError` instead of `testResult`. |
| `workflowId` | string | Yes | Automation ID |
| `description` | string | No |  |
| `sourcePosition` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |
| `targetPosition` | string | No | Read-only, returned by getWorkflow. Accepted so its output can be sent back, and ignored. |

### Update workspace member

**Slug:** `NOCODB_MCP_UPDATE_WORKSPACE_MEMBER`

Change one member's workspace role. `id` and the other keys are as listWorkspaceMembers returns them. It does not reach bases where the member has an explicit or team role, or bases that are private. You cannot grant above your own role, change someone above it, or demote the last owner. You cannot lower your own access over MCP.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | User id, from listWorkspaceMembers |
| `pin` | boolean | No | Set true to pin a role the member already holds by inheritance. Without it, sending their current inherited role changes nothing. |
| `name` | string | No | Read-only, returned by listWorkspaceMembers. Accepted so its output can be sent back, and ignored. |
| `email` | string | No | Read-only, returned by listWorkspaceMembers. Accepted so its output can be sent back, and ignored. |
| `workspaceId` | string | Yes | Workspace ID — from listWorkspaces |
| `workspace_role` | string ("workspace-level-owner" | "workspace-level-creator" | "workspace-level-editor" | "workspace-level-commenter" | "workspace-level-viewer" | "workspace-level-no-access") | Yes | New role |
| `workspace_role_source` | string | No | Read-only, returned by listWorkspaceMembers. Accepted so its output can be sent back, and ignored. |

### Upload attachment

**Slug:** `NOCODB_MCP_UPLOAD_ATTACHMENT`

Put a file into an Attachment field. Each file is given as a URL: an http(s) address the NocoDB server fetches itself, or a `data:` URL carrying the bytes inline, for small files only (at most 128 MB decoded, the same cap as a fetched file). A local file path is not supported, nor is any address the server cannot reach: localhost on your machine, an intranet, or a link that needs a login (private and internal addresses are refused). For such a file, ask the person to host it at a fetchable https URL (a pre-signed S3/GCS link works), or to attach it in the NocoDB UI. Name a record — `tableId` + `recordId` + `fieldId` together — and the uploaded files are appended to that cell, leaving what is already there. Name no record and the files are uploaded and returned, to pass into createRecords or updateRecords yourself; only the caller that uploaded a file may then write it into a cell. The reply always lists what was stored.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `files` | array | Yes | Files to upload, at most 10 per call |
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `fieldId` | string | No | Attachment field to append to — its ID or its title |
| `tableId` | string | No | Table ID of the record to attach to |
| `recordId` | string | No | Record ID to attach to |

### Upsert records

**Slug:** `NOCODB_MCP_UPSERT_RECORDS`

Insert records, updating the ones that already exist instead of duplicating them — matched on the fields named in fieldsToMergeOn rather than on record id, so an agent holding an external key does not have to query first. Each returned record carries `status: inserted | updated`. Up to 100 records and 3 merge fields per call; merge fields cannot be computed, link or attachment fields, and the record `fields` must not name a primary key. A link field in `fields` replaces the matched record's whole link set, as updateRecords does, so pass the complete list, or `[]` to clear it. Bare link values are matched as display values (titles), unlike createRecords / updateRecords, which read them as primary keys; pass `{ id }` to link by primary key. To add links without restating the set, use linkRecords.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `records` | array | Yes | Array of records with fields as key-value pairs. At most 100 per call — a longer array is rejected outright, so split larger writes into batches. |
| `tableId` | string | Yes | Table ID |
| `returnFields` | string | No | Fields to return for each record — an array of field names or ids, or a comma-separated list. Omit to get every field; pass only what you need to keep large writes readable. |
| `fieldsToMergeOn` | array | Yes | Field titles (or ids) that identify an existing record — the business key. Every record must carry a value for each of them. Several fields match on all of them together. |

### Validate workflow node

**Slug:** `NOCODB_MCP_VALIDATE_WORKFLOW_NODE`

Test one node of an automation and store the result, which is what the `validate` flag on the node-editing tools does, and what publish requires of every node. The test is a check, not a run: the node does not perform its action — a create-record node writes no row, a messaging node posts nothing. It resolves the node's config against the upstream results and checks it with read-only calls (does the table have every field set, does a GET endpoint answer), and the result is marked `simulated: true`. A missing expression path is not caught — it resolves to empty, so read `input` in the result. A node that can only be checked by running it (a script, a node that declares no outputs) comes back failed with `needsRun: true` and a `nextStep`; it cannot be run over MCP. Every node upstream must already have been tested, so work in order from the trigger. Triggers that wait on a real event (webhooks, external services) can only be tested in the UI. A fresh result marks every result downstream of this node stale.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `baseId` | string | Yes | Base ID — from listBases or createBase |
| `nodeId` | string | Yes | Node id to test |
| `workflowId` | string | Yes | Automation ID |
| `testTriggerData` | object | No | Sample trigger payload, for testing a trigger node that takes one. Ignored for other nodes, which read their input from the stored results of the nodes upstream. |

### Whoami

**Slug:** `NOCODB_MCP_WHOAMI`

Identity and exact authority of this MCP credential: the user it acts as, the resources it covers, and the permissions granted on each. Call this first — it tells you what you can do without having to discover it through refusals.
