Browse and search developers

Server formit 1.1.0

MCP tool reference

Every tool the FormitAI MCP server exposes at /api/v1/mcp, with its input schema. Generated from the server’s tools/list response.

On this page
  1. Read tools (19)
  2. Write tools (22)

Read tools

check_workspace_permission

read-only

Check whether this credential can perform a workspace action before attempting it.

  • permission"workspace.forms.read" | "workspace.forms.write" | "workspace.forms.publish" | "workspace.members.read" | "workspace.members.write" | "workspace.analytics.read" | "workspace.settings.read" | "workspace.settings.write"Required

get_block_schema

read-only

Get the settings JSON schema, defaults, and persistence rules for one block type.

  • typestringRequired

    Block type id, e.g. "radio"

get_form

read-only

Read one form with all of its questions and options.

  • formIdstringRequired

    min 1 characters

get_form_design

read-only

Read a form’s theme, branching settings, endings, tagging rules, and share settings. Call this before styling or logic work.

  • formIdstringRequired

    min 1 characters

get_form_summary

read-only

Compact summary of a form: titles and block types only. Cheaper than get_form.

  • formIdstringRequired

    min 1 characters

get_org_plan_summary

read-only

Current plan tier for this workspace’s organization.

No fields.

get_webhook

read-only

Get one webhook. Does not include the signing secret.

  • webhookIdstringRequired

    min 1 characters

list_block_types

read-only

List every block type this workspace can put on a form, with its persistence field type, whether it needs options, and which paid feature (if any) it triggers at publish time.

No fields.

list_fonts

read-only

List built-in fonts a form can use (font id + display name). Pass font as a plain string to update_form_theme (e.g. "inter"). Custom fonts require a plan entitlement and are not listed.

  • formIdstringRequired

    min 1 characters

list_form_versions

read-only

List published versions of a form.

  • formIdstringRequired

    min 1 characters

  • limitinteger

    1–50

list_forms

read-only

List forms in this workspace.

  • limitinteger

    1–100

  • querystring

    max 200 characters

list_paid_features

read-only

List paid features and the block types that trigger them.

No fields.

list_themes

read-only

List saved organization themes and the built-in gallery that can be applied to a form. Each theme includes id, name, source, and colour preview swatches — describe themes by name, never invent ids.

  • formIdstringRequired

    min 1 characters

list_webhook_deliveries

read-only

List recent delivery attempts for a webhook. Does not include signing secrets or full payloads.

  • webhookIdstringRequired

    min 1 characters

list_webhooks

read-only

List outbound webhooks in this workspace. Signing secrets are never returned — only secretHint (last 4 characters).

No fields.

search_background_images

read-only

Search Unsplash for a photo. Each result includes previewUrl/url — put clickable markdown links in your reply so the user can open the photo ([Open preview](url)). Also include ![name](previewUrl). If you must use a picker, every option must include that URL. Keep unsplashPhotoId internal; pass it to attach_image after they pick. slot: theme_background or block (questionId).

  • formIdstringRequired

    min 1 characters

  • querystringRequired

    2–120 characters

  • limitinteger

    4–8

  • slotstring
  • questionIdstring

    min 1 characters

search_forms

read-only

Search forms in this workspace by name. Returns compact rows — call get_form or get_form_summary for detail.

  • querystring

    max 200 characters

  • limitinteger

    1–10

validate_publish

read-only

Dry-run the publish gates for a form: reports the workspace permission check and any paid features the current plan does not cover. Makes no changes.

  • formIdstringRequired

    min 1 characters

Write tools

apply_theme

Apply a saved or gallery theme to a form, replacing its current styling. Applied immediately.

  • formIdstringRequired

    min 1 characters

  • themeIdstringRequired

    min 1 characters

attach_image

Attach an Unsplash photo (or URL) immediately. slot is a plain string: theme_background or block. Theme backgrounds do not need a question. For block, pass questionId OR questionIndex (0-based, get_form order) OR questionTitle (unique match), plus layout (desktop: top-image | split-left-image | …) and layoutMobile (image-between | top-image | cover-header | background). brightness -100..100. Do not show unsplashPhotoId to the user.

  • formIdstringRequired

    min 1 characters

  • slotstringRequired

    theme_background (every question) or block (one question)

    min 1 characters

  • unsplashPhotoIdstring

    1–120 characters

  • urlstring

    max 2048 characters · uri

  • questionIdstring

    min 1 characters

  • questionIndexinteger

    0-based index in get_form question order. Block slot only.

    0–…

  • questionTitlestring

    Unique question title match. Block slot only.

    1–500 characters

  • altTextstring

    max 125 characters

  • brightnessnumber

    -100–100

  • dimnumber

    0.2–1

  • fitstring
  • layoutstring
  • layoutMobilestring
  • positionobject
    • xnumberRequired

      0–1

    • ynumberRequired

      0–1

create_ending

Add a thank-you ending (end page) to a form. Returns endingId for set_question_logic. Applied immediately.

  • formIdstringRequired

    min 1 characters

  • titlestringRequired

    1–500 characters

  • descriptionstring

    max 1000 characters

create_form

Create an empty draft form in this workspace. Add questions with create_question. This does not call any AI model.

  • namestringRequired

    1–120 characters

  • descriptionstring

    max 500 characters

create_question

Add a question to a form. Call list_block_types / get_block_schema first if unsure. Paid blocks are allowed in drafts; publishing them requires the right plan.

  • formIdstringRequired

    min 1 characters

  • typestringRequired

    1–64 characters

  • titlestringRequired

    1–500 characters

  • descriptionstring

    max 1000 characters

  • requiredboolean
  • positioninteger

    0–…

  • settingsobject (map)
  • optionsarray of object

    max 100 items

    • textstringRequired

      1–200 characters

    • valuestringRequired

      1–100 characters

create_webhook

Create a webhook endpoint. Returns the signing secret once — store it; later list/get only include secretHint.

  • namestringRequired

    1–120 characters

  • urlstringRequired

    uri

  • eventTypesarray of stringRequired

    at least 1 item

delete_question

destructive, needs confirm

Delete a question. Destructive — requires confirm: true.

  • formIdstringRequired

    min 1 characters

  • questionIdstringRequired

    min 1 characters

  • confirmbooleanRequired

    Must be true to execute this destructive action.

delete_webhook

destructive, needs confirm

Delete a webhook. Destructive — requires confirm: true.

  • webhookIdstringRequired

    min 1 characters

  • confirmbooleanRequired

    Must be true to delete.

duplicate_form

Duplicate a form (draft copy) inside this workspace.

  • formIdstringRequired

    min 1 characters

publish_form

destructive, needs confirm

Publish a form. Requires the workspace publish permission and a plan that covers every paid block on the form. Destructive — requires confirm: true. Run validate_publish first.

  • formIdstringRequired

    min 1 characters

  • versionLabelstring

    max 120 characters

  • confirmbooleanRequired

    Must be true to publish.

reorder_questions

Reorder a form’s questions. Pass every question id in the desired order.

  • formIdstringRequired

    min 1 characters

  • questionIdsarray of stringRequired

    at least 1 item · max 200 items

rotate_webhook_secret

destructive, needs confirm

Rotate the signing secret. Returns the new secret once. Destructive — requires confirm: true. Update your receiver immediately.

  • webhookIdstringRequired

    min 1 characters

  • confirmbooleanRequired

    Must be true to rotate the secret.

set_form_tagging

Define tags applied to responses based on answers. Replaces existing tag groups. Applied immediately.

  • formIdstringRequired

    min 1 characters

  • groupsarray of object (map)Required

    max 10 items

set_public_subdomain

Set or clear the organization’s branded subdomain used in public form links. Pass null to revert. Requires organization admin. Applied immediately.

  • formIdstringRequired

    min 1 characters

  • subdomainstring or nullRequired

set_question_logic

Set branching rules for one question (jump/skip, including different endings). Replaces that question’s existing rules. Applied immediately after server validation. create_ending first and use returned endingIds. Use operator "exists" (answered) or "empty" (blank) without value; exact matches use "is" with a plain string/number value (never an object). On recoverable:true validation errors (code + hint), revise rules and retry with corrected args in the same turn. If recoverable is false, stop — do not repeat identical failing calls (hosts should cap retries; see AGENT_LIMITS).

  • formIdstringRequired

    min 1 characters

  • questionIdstringRequired

    min 1 characters

  • rulesarray of object (map)Required

    max 20 items

  • otherwiseobject (map)

unpublish_form

destructive, needs confirm

Unpublish a form (same workspace.forms.publish permission as publish_form). The live public link stops accepting new respondents. Destructive — requires confirm: true.

  • formIdstringRequired

    min 1 characters

  • confirmbooleanRequired

    Must be true to unpublish.

update_form

Rename a form or change its description.

  • formIdstringRequired

    min 1 characters

  • namestring

    1–120 characters

  • descriptionstring

    max 500 characters

update_form_logic

Turn branching on or off for the whole form and set how outcomes are decided. Applied immediately. On recoverable:true validation errors, fix arguments and retry in the same turn; stop when recoverable is false.

  • formIdstringRequired

    min 1 characters

  • enabledboolean
  • defaultBehavior"linear" | "explicit"
  • outcomeMode"score" | "answer" | "both"

update_form_theme

Restyle a form immediately: colours, font, corners, layout, questionAlign/welcomeAlign, progress bar, and form-wide background (fit, brightness -100..100). Pass enum fields as plain strings (buttonStyle: "solid"). For a photo on ONE question use attach_image with slot "block".

  • formIdstringRequired

    min 1 characters

  • bgColorstring
  • questionColorstring
  • answerColorstring
  • buttonBgstring
  • buttonTextstring
  • buttonStylestring
  • inputStylestring
  • fontstring
  • fontSizestring
  • cornersstring
  • formViewThemestring
  • formLayoutstring
  • questionAlignstring
  • welcomeAlignstring
  • showProgressBarboolean
  • backgroundImageobject (map)
  • clearBackgroundImageboolean
  • enforceReadableTextboolean

update_question

Update one question on a form.

  • formIdstringRequired

    min 1 characters

  • questionIdstringRequired

    min 1 characters

  • typestring

    1–64 characters

  • titlestring

    1–500 characters

  • descriptionstring

    max 1000 characters

  • requiredboolean
  • positioninteger

    0–…

  • settingsobject (map)
  • optionsarray of object

    max 100 items

    • textstringRequired

      1–200 characters

    • valuestringRequired

      1–100 characters

update_share_settings

Change the share page preview: social title, description, preview image, and whether search engines may index it. Applied immediately.

  • formIdstringRequired

    min 1 characters

  • ogTitlestring or null
  • ogDescriptionstring or null
  • ogThumbnailUrlstring or null
  • indexableboolean

update_webhook

Update a webhook name, URL, event types, or active flag. Does not return the signing secret.

  • webhookIdstringRequired

    min 1 characters

  • namestring

    1–120 characters

  • urlstring

    uri

  • eventTypesarray of string

    at least 1 item

  • isActiveboolean

Ready?

Build your first AI form in minutes.

No credit card. Generate from a prompt, enable follow-ups, and publish a link or embed the same day.