formwire
v0.1.0Create and wire up contact forms from your agent: snippets, forms, and submissions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_form
Create a Formpaste form and return its access key + a wired snippet. Triggers destination verification for a new address (the owner completes it in the dashboard); an already-verified destination delivers immediately. Errors with: unauthorized, upgrade_required.
| Parameter | Type | Description |
|---|---|---|
destinationEmail * | string | Where submissions are emailed. Must be verified before delivery starts. |
name * | string | A human-readable name for the form, e.g. "Contact form". |
framework | string | Target framework for the returned snippet. Defaults to html. |
get_snippet
Return a copy-paste form snippet for a framework (html, react, nextjs, astro, vue, svelte). Pass formId to fill in a real access key; otherwise a placeholder is used. Errors with: unauthorized, invalid_framework.
| Parameter | Type | Description |
|---|---|---|
framework * | string | Target framework for the snippet. |
formId | string | An owned form id to fill in the real access key; omit for a placeholder. |
list_submissions
List submissions for one of your forms. Returns counts + per-submission metadata by default; set includeContent to include message bodies (third-party PII). Errors with: unauthorized, not_found, forbidden. Requires a full-access token.
| Parameter | Type | Description |
|---|---|---|
formId * | string | A form id from create_form or list_forms, e.g. frm_... |
folder | string | Which folder to list. Defaults to inbox. |
includeContent | boolean | Include full submission message bodies (third-party PII). Defaults to false. |
limit | number | Maximum number of submissions to return. |
list_forms
List all forms on your account, each with its id, name, access_key, and inbox/spam counts. Use this to discover form ids or confirm a form you just created exists. Errors with: unauthorized.
get_form
Read one of your forms to verify it is wired correctly: returns its access_key, destination_email, destination_verified (whether submissions will be emailed yet), allowed_domains, and notification/autoresponder/webhook config. Never returns the webhook signing secret. Errors with: unauthorized, not_found.
| Parameter | Type | Description |
|---|---|---|
formId * | string | A form id from create_form or list_forms, e.g. frm_... |
send_test_submission
Store a TEST submission so you can prove a form is live and receiving. Stored only: it appears in the owner's Inbox with a Test badge but sends NO email, runs NO spam scoring, and never counts toward quota. Optionally pass sample fields; omit to use a default payload. Capped at the 5 newest test rows per form. Errors with: unauthorized, not_found, invalid_input, too_many_fields, field_too_large.
| Parameter | Type | Description |
|---|---|---|
formId * | string | A form id from create_form or list_forms, e.g. frm_... |
fields | object | Optional sample form fields as a flat string map, e.g. { name, email, message }. Omit to use a default test payload. |