Form2Workflow

AI agents

MCP tool reference

All 24 tools, the minimum access level each needs, and their arguments (* = required).

Organization#

ToolLevelArgumentsDescription
whoamiviewer—Organization, key name, effective access level and what it allows. Call first.
get_config_referenceviewer—The complete form config reference (field types, properties, templates, payloads). Read before building forms.
get_usageviewerperiod: 24h | 7d | 30dMonthly submission quota (used / limit / reset date) and webhook call counts by type and outcome.

Forms#

ToolLevelArgumentsDescription
list_formsviewerfolder_id (or "none"), searchSummaries: id, name, slug, folder, active, webhook flags, field count, hosted URL.
get_formviewerform_idFull form with config. Header values redacted.
get_embed_snippetviewerform_idEmbed HTML and hosted page URL.
create_formeditorname*, slug, n8n_webhook_url, webhook_headers, onload_webhook_url, onload_webhook_method, onload_webhook_headers, config, folder_idCreate a form. Subject to the plan's form quota.
update_formeditorform_id*, any create field, is_activeOnly sent fields change; config is replaced whole. Omit headers to keep them.
delete_formadminform_idPermanent. Prefer update_form with is_active: false.

Webhook history#

ToolLevelArgumentsDescription
list_submissionsviewerform_id, type: submit | onload | action | fetch | all, status: success | failed, since, limit, offsetEvery webhook call with request, n8n response or error, duration. Omit form_id to search the organization.

Folders#

ToolLevelArgumentsDescription
list_foldersviewer—Folders used to organize forms.
create_foldereditornameCreate a folder.
rename_foldereditorfolder_id, nameRename a folder.
delete_foldereditorfolder_idDelete a folder; its forms move to the top level.

Themes#

ToolLevelArgumentsDescription
list_themesviewer—Themes and which is default.
create_themeadminname*, colors, column_gap, row_gap, is_defaultCreate a theme. Apply it with config.theme_id.
update_themeadmintheme_id*, any theme fieldUpdate a theme.

Access#

ToolLevelArgumentsDescription
list_rolesviewer—Form-access roles.
list_form_usersviewersearch, statusPeople who sign in to protected forms.
get_form_accessviewerform_idLogin requirement and allowed roles/users.
set_form_accessadminform_id*, auth_required*, role_ids, user_idsRequire login and choose who may access. Lists replace existing ones.
create_form_useradminemail*, password* (8+), nameCreate a form user.
assign_form_useradminuser_id*, form_id*Grant a form user access to a form.
unassign_form_useradminuser_id*, form_id*Remove that access.

Results and errors#

Tools return JSON text. A failure is returned as a tool result with isError: true and the HTTP-style status and message, for example:

{ "status": 403, "error": "Insufficient permissions", "code": "INSUFFICIENT_PERMISSIONS",
  "message": "This action requires admin role or higher. You have creator role." }

Invalid arguments are rejected by the MCP layer before anything runs.

Recommended workflow for agents#

  1. whoami — know the organization and level.
  2. get_config_reference — once, before building or editing forms.
  3. list_forms → get_form — read before you write.
  4. create_form / update_form with the complete config.
  5. get_embed_snippet — hand the result to the user.
  6. list_submissions — verify deliveries after the user tests.