Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Restore from trash
NOCODB_MCP_RESTORE_FROM_TRASHPut 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.
Restore records
NOCODB_MCP_RESTORE_RECORDSPut 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.
Restore script
NOCODB_MCP_RESTORE_SCRIPTRestore 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.
Send agent message
NOCODB_MCP_SEND_AGENT_MESSAGESend 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.
Set date dependency
NOCODB_MCP_SET_DATE_DEPENDENCYCreate 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.
Set default agent repo
NOCODB_MCP_SET_DEFAULT_AGENT_REPOMake a repo the coding agent's default, where sessions and triggers start unless they name another. Returns the agent's repos.
Set display field
NOCODB_MCP_SET_DISPLAY_FIELDMake 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.
Set form field conditions
NOCODB_MCP_SET_FORM_FIELD_CONDITIONSReplace 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.
Set permission
NOCODB_MCP_SET_PERMISSIONCreate 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
Set rls policy conditions
NOCODB_MCP_SET_RLS_POLICY_CONDITIONSReplace 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.
Set rls policy subjects
NOCODB_MCP_SET_RLS_POLICY_SUBJECTSReplace the set of subjects a policy applies to. Not valid for a default policy, which always covers everyone
Set row color by select
NOCODB_MCP_SET_ROW_COLOR_BY_SELECTColour 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.
Share document
NOCODB_MCP_SHARE_DOCUMENTPublish 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.
Share view
NOCODB_MCP_SHARE_VIEWCreate 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.
Start coding session
NOCODB_MCP_START_CODING_SESSIONStart 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.
Stop agent session
NOCODB_MCP_STOP_AGENT_SESSIONStop 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.
Submit feedback
NOCODB_MCP_SUBMIT_FEEDBACKReport 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.
Submit form
NOCODB_MCP_SUBMIT_FORMSubmit 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`.
Test agent channel
NOCODB_MCP_TEST_AGENT_CHANNELCheck an agent channel's connection to its platform, without sending a message.
Unlink records
NOCODB_MCP_UNLINK_RECORDSRemove 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.