Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add nodes
BASEROW_MCP_ADD_NODESAdd action and router nodes to a workflow, after existing nodes or after each other. Use list_nodes to find the IDs of the nodes to attach to, and router_edge_label to attach to a router branch. A new node is inserted right after the node it follows: the node that followed it there now follows the new node, still connected and with its settings, and is listed in shifted_nodes. To add a node before an existing one, set before_node_id to that node's ID: the new node takes its place, on the same branch or first in the same container, even when the workflow changed since list_nodes. Never delete and recreate a node to make room. A new router inserted before a node needs shifted_node_edge_label: the branch that node moves to, or 'default'. To add several nodes in a row, chain them by ref. A value that takes a formula is a formula when it looks like one (get(...), concat(...), ...), otherwise a literal; to store text that looks like a formula, send it as a quoted string such as 'Call now()'. A formula reads an earlier node with get('previous_node.<node id>...'), with a path list_nodes shows for that node, and a node defined earlier in the call can be named by its ref there. A valid formula is stored as written. An invalid one leaves that value empty and is returned in formula_errors with the reason: fix it with update_nodes. Nothing is written when a previous_node_ref, before_node_id or branch is unknown, before_node_id is the trigger, a ref is used twice, or a router inserted before a node has no shifted_node_edge_label.
Add row colours
BASEROW_MCP_ADD_ROW_COLOURSColour the rows of a view, by a single select field or by conditions. A form view has no rows to colour. Adds to the colours the view already has, which list_views shows. Needs a premium licence.
Create automation
BASEROW_MCP_CREATE_AUTOMATIONCreate one empty automation in the workspace, connected to its data. Add workflows to it with create_workflows. Returns its id and name.
Create builder
BASEROW_MCP_CREATE_BUILDERCreate one application builder in the workspace, with a theme and a connection to the workspace's data. A request for an application, app or website means this tool; use create_database, create_automation or create_dashboard only when the user names those. Use create_pages to add pages to it. Returns its id and name.
Create collection elements
BASEROW_MCP_CREATE_COLLECTION_ELEMENTSCreate collection elements on a page: table and repeat, which show the rows of a data source. data_source is a data source ID from list_data_sources. Elements go inside a repeat with parent_element. ref_to_id_map gives the ID of each ref. A ref works inside the call that creates it; afterwards use the element's ID. A table text column shows its value, or without one the field of the data source named like the column. Give a dynamic value or a button label as a formula, like get('current_record.field_<id>'). Descriptions are not turned into formulas: a value that isn't a valid formula is left empty and listed in formula_errors, with the column's position in field, like fields.0.value, so it can be set with update_element and update_table_columns.
Create dashboard
BASEROW_MCP_CREATE_DASHBOARDCreate one empty dashboard in the workspace. Add widgets to it with create_widgets. Returns its id and name.
Create database
BASEROW_MCP_CREATE_DATABASECreate one empty database in the workspace. Add tables to it with create_tables. Returns its id and name.
Create data sources
BASEROW_MCP_CREATE_DATA_SOURCESCreate data sources on a page, to connect its elements to the rows of a table: list_rows for many rows, get_row for one. ref_to_id_map gives the ID of each ref. Give dynamic values as formulas in Baserow formula syntax, like get('page_parameter.id'). A search_query in plain words is searched for as written. Descriptions are not turned into formulas: a search_query that is a formula but isn't valid is left empty and listed in formula_errors, so it can be set with update_data_source. A get_row without a row_id reads the first row its view selects. A get_row whose row_id isn't a number or a valid formula is listed in errors and that data source isn't created.
Create display elements
BASEROW_MCP_CREATE_DISPLAY_ELEMENTSCreate display elements on a page: heading, text, button, link and image. ref_to_id_map gives the ID of each ref. A ref works as parent_element inside the call that creates it; afterwards use the element's ID. Plain text is stored as fixed text. A whole value that is a function call, like upper('abc'), is a formula. Give dynamic values as formulas in Baserow formula syntax, like get('page_parameter.id'). Inside a repeat or a table, get('current_record.field_<id>') reads the row. Descriptions are not turned into formulas: a value that isn't a valid formula is left empty and listed in formula_errors, so it can be set with update_element. A button does nothing until it has a click action. A link has its target on the element, with link_page_parameters for the path parameters of a page that has them. A link whose parameters don't fit its page is refused.
Create element actions
BASEROW_MCP_CREATE_ELEMENT_ACTIONSCreate workflow actions on elements of a page, by element ID from list_elements: show a notification, open a page of this application, create, update or delete a row, refresh a data source, or log out. Use event "click" for a button or link, "submit" for a form_container, "after_login" for an auth_form. For a table button column use "<column name>_click" or "<uid>_click", with the column's uid from list_elements. A ref only works inside the call that creates it, so here use IDs. Give dynamic values as formulas in Baserow formula syntax, like get('form_data.<element id>') or, on a table button, get('current_record.id'). get('previous_action.<action id>.<field>') reads what an earlier action returned. Plain text in a title, description, parameter or field value is stored as fixed text. A whole value that is a function call, like upper('abc'), is a formula, and so is a number or true or false as a field value. Sums like 3/4 are fixed text. Descriptions are not turned into formulas: a value that isn't a valid formula is left empty and listed in formula_errors. For a field value that means the action doesn't write to that field until it is set with update_element_action. A row action can't run without its row_id, so one that isn't a valid formula or number is listed in errors and that action isn't created. An open_page action must give page_parameters with exactly the names of the path parameters of the page it opens, from list_pages. If not, it is listed in errors and isn't created. Fix a value listed in formula_errors with update_element_action. Don't call this tool again for it: that adds a second action, and both run.
Create fields
BASEROW_MCP_CREATE_FIELDSAdd fields to a table. Field names must be unique in the table, and the table of a link_row or lookup field must already exist. A lookup goes through the link_row field named in through_field, or else the first one to linked_table; when there is none, one is created and returned in created_fields too. A formula is stored as written. An invalid formula is not created: it is returned in errors with the code invalid_formula and the parser's message, to correct and send again.
Create form elements
BASEROW_MCP_CREATE_FORM_ELEMENTSCreate form elements on a page: form_container, input_text, choice, checkbox, datetime_picker and record_selector. Inputs go inside a form_container with parent_element. ref_to_id_map gives the ID of each ref. A ref works as parent_element inside the call that creates it; afterwards use the element's ID. A form_container needs a submit action to do anything. Give a dynamic default_value as a formula in Baserow formula syntax, like get('page_parameter.id'). Descriptions are not turned into formulas: a value that isn't a valid formula is left empty and listed in formula_errors, so it can be set with update_element. Labels and placeholders are fixed text.
Create layout elements
BASEROW_MCP_CREATE_LAYOUT_ELEMENTSCreate layout elements on a page: column, simple_container, header, footer and menu. Other elements go inside them with parent_element; in a column, place_in_container says which one, from "0". ref_to_id_map gives the ID of each ref. A ref works as parent_element inside the call that creates it; afterwards use the element's ID. empty_containers lists the new containers with nothing in them. These tools can't give a menu item path parameters, so one can't link to a page that has them; the editor can set them. A header or footer, and anything inside one, goes on the shared page and shows on every page, or on the pages in page_ids with share_type "only". Pass any page of the application as page_id. Elements on the shared page can't read what only one page has, like its parameters or data sources.
Create pages
BASEROW_MCP_CREATE_PAGESCreate pages in an application builder. A parameter in a path, like :id in /products/:id, is added as text unless path_params says otherwise. A page whose path is already used is listed in errors and the others are created.
Create row comments
BASEROW_MCP_CREATE_ROW_COMMENTSPost plain text comments on rows of a table. Mentions aren't supported. A comment that fails is reported in errors and the others are still posted. Needs a premium licence.
Create rows
BASEROW_MCP_CREATE_ROWSCreate one or more rows in a table. Call get_table_schema first to learn the field names and types. Use user-facing field names as keys, not internal field IDs.
Create tables
BASEROW_MCP_CREATE_TABLESCreate tables with their fields in a database. Pass related tables in one call: a link_row or lookup field can name another table of the same call, and the reverse link field is created automatically. The primary field is always a text field. A table with the same name as an existing one is reused as is and returned with its actual schema, plus the differences when it lacks what was requested. A formula is stored as written. An invalid formula is not created: it is returned in errors with the code invalid_formula, to correct and add with create_fields. A lookup whose target is a formula or lookup of a table listed after it fails, as that target doesn't exist yet: list that table first, or add the lookup with create_fields after this call.
Create view filters
BASEROW_MCP_CREATE_VIEW_FILTERSAdd filters to views, so a view shows only the rows that match all of them. Each filter names a field, its type, which must match the field's type, an operator and a value. A filter whose field is missing from the view's table, has another type, has a value of the wrong format, has a label that matches no select option, or that the view refuses (a form view takes no filters) is not created and is returned in errors with the reason. When a view is not found, nothing is created. Value formats by type: - text: string - number: number - date: ISO date string (mode=exact_date), or a whole number (mode=nr_days_ago etc.). The other modes (today etc.) take none; a value given is ignored and noted. - single_select / multiple_select: list of option labels, matched ignoring case and outer spaces - link_row: row ID (integer) - boolean: true / false
Create views
BASEROW_MCP_CREATE_VIEWSCreate views in a table. A new table already has a grid view. A view whose name is already used in the table, or earlier in the call, is not created and is returned in errors. Each type needs its fields: a kanban view a single select field for its columns, a calendar view a date field, a timeline view a start and an end date field with the same include time setting, and a gallery view a file field for its covers. A form view shows only the fields listed in its field_options; fields that cannot be a form input are left out and named in skipped_fields. When a field setting is wrong, no view is created.
Create widgets
BASEROW_MCP_CREATE_WIDGETSAdd widgets to a dashboard. A summary shows one figure: a field of a table aggregated over its rows, like the sum of Amount. With premium, a chart (BAR or LINE) or pie_chart (PIE or DOUGHNUT) shows one or more series, optionally by the values of group_by_field_id. Pass view_id to aggregate only the rows a view shows. Each widget is saved on its own: a widget that fails is listed in errors with its index and the others are kept. An aggregation that doesn't fit a field is reported with the ones that do. Returns the created widgets as list_widgets describes them.