DocToWeb AI Bot — Abilities

Everything the bot can do, grouped by category. Tools marked write change state (send messages, create records, etc.). Categories marked ⚠ missing config need secrets before they'll work.

40 tools
15 categories
8 ready to use
7 need config

Records & Contracts (Doc2Web) ●

CRUD on your forms, contracts, and submitted records inside Doc2Web.

list_forms
List all forms with their formKey, name, field count and record count. Use this to discover what forms exist before any other call.
list_contracts
List all contracts with their contractKey, name, field count and record count.
get_schema
Return the field schema (name, label, type, options) for one form or contract. Always call this before create_record / update_record so you know which keys to use.
list_records
List records for one form or contract, newest first. Use limit to keep responses small (default 25, max 200).
get_recordmissing
(tool not found — possibly removed)
create_recordwrite
Create (or upsert) a record. Pass `data` as a flat object keyed by field name. The server AI-normalizes it against the schema, so loose keys like 'Customer Name' will be coerced to 'customer_name'. If `clientUuid` is pro…
update_recordwrite
Patch a single record's fields. Reads the existing row, merges your `patch` into it, and writes the merged data back. Identifier is the (kind,key,clientUuid) triple.
delete_recordwrite
Delete one record by (kind, key, clientUuid). Returns the count of deleted rows.
delete_all_recordswrite
DESTRUCTIVE — delete every record for one form or contract. The schema itself is preserved. Confirm with the user before calling this.
ensure_signature_sectionwrite
Add a default signer block (printed name + date + location + handwritten signature canvas) to a contract. By default this is a no-op when the contract already has at least one signable field — pass force=true to add an a…
Try asking:

Maps & Locations ●

Render embedded maps inline in chat. Powered by Google Maps.

Requires: GOOGLE_MAPS_API_KEY

create_map_embed
Create an embeddable Google Map for a place, address, or search query. Returns { embedUrl, iframeHtml, width, height } — the chat UI will render the map inline. Use mode='place' for a single named location (default), 'se…
Try asking:

Google Calendar ●

List, read, and create events on your Google Calendar — including Google Meet links.

Requires: (Google Calendar OAuth integration)

list_calendars
List the user's Google Calendars (calendarList). Returns { count, calendars: [{id, summary, primary, accessRole, timeZone}] }. Call this first to discover calendar IDs before listing or creating events on a non-primary c…
list_calendar_events
List events from a Google Calendar within an optional time window. Defaults to the primary calendar, next 7 days, ordered by start time. timeMin/timeMax must be RFC3339 (e.g. '2026-05-17T00:00:00Z'). Returns { count, eve…
create_calendar_eventwrite
Create a Google Calendar event. start/end must be RFC3339 (e.g. '2026-05-20T14:00:00-07:00'). For all-day events pass start/end as 'YYYY-MM-DD'. If the user identifies an exact saved Page ID for this event, pass savedPag…
Try asking:

Twilio SMS & Voice ●

Send SMS and place voice calls (Twilio reads text out via TwiML <Say>).

Requires: TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENTWILIO_PHONE_NUMBER

send_smswrite
Send an SMS message via Twilio. `to` must be E.164 (e.g. '+14155552671'). The 'from' number is the Twilio number configured in TWILIO_PHONE_NUMBER. Returns { sid, status, to, from, body }.
list_sms_messages
List recent Twilio SMS messages (inbound and outbound). Optionally filter by `to` or `from` (E.164). Returns { count, messages: [{sid, direction, from, to, body, status, dateSent}] }.
make_phone_callwrite
Place an outbound phone call via Twilio. Provide EITHER `message` (text to be spoken via Twilio <Say>) OR `twimlUrl` (URL returning TwiML). `to` must be E.164. Returns { sid, status, to, from }.
list_phone_calls
List recent Twilio phone calls. Optionally filter by `to`/`from` (E.164). Returns { count, calls: [{sid, direction, from, to, status, duration, startTime}] }.
Try asking:

Twilio RCS & Rich Content Templates ●

Cross-channel rich messaging (RCS / WhatsApp / SMS fallback) using Twilio Content API templates.

Requires: TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKEN(A Twilio Messaging Service with RCS Agent attached)

list_messaging_services
List Twilio Messaging Services on the account. A Messaging Service is the container that bundles senders (SMS long codes, short codes, toll-free, RCS Agents, WhatsApp senders) and enables cross-channel routing including …
list_content_templates
List Twilio Content API templates (rich message templates that work across RCS, WhatsApp, and SMS with graceful fallback). Returns { count, templates: [{sid, friendlyName, language, variables, types}] }. Use the returned…
create_content_templatewrite
Create a Twilio Content API template (rich message that works across WhatsApp, RCS, SMS with automatic fallback). Returns { sid, friendlyName, types, approvalNote }. The returned `sid` (HX...) is used as contentSid in se…
send_rich_messagewrite
Send a message via a Twilio Messaging Service, which enables RCS-first delivery with automatic SMS/MMS fallback. Required: `to` (E.164) plus `messagingServiceSid` (from list_messaging_services). For rich content (cards, …
Try asking:

WhatsApp (via Twilio) ●

Send WhatsApp messages through your Twilio account — unified billing with SMS/RCS.

Requires: TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENTWILIO_WHATSAPP_FROM

send_whatsapp_via_twiliowrite
Send a WhatsApp message via Twilio (alternative to the Meta direct send_whatsapp_message — same channel, different provider). Uses the WhatsApp-enabled sender configured in TWILIO_WHATSAPP_FROM (e.g. Twilio sandbox '+141…
Try asking:

WhatsApp (via Meta direct) ⚠ missing config

Send WhatsApp messages directly through Meta's Cloud API — no Twilio middleman.

Requires: META_ACCESS_TOKENWHATSAPP_PHONE_NUMBER_ID

send_whatsapp_messagewrite
Send a freeform WhatsApp text message via Meta's WhatsApp Cloud API. NOTE: WhatsApp only allows freeform text inside the 24-hour customer service window (i.e. the recipient messaged you within the last 24h). Outside that…
send_whatsapp_templatewrite
Send a pre-approved WhatsApp template message (the only way to message a user outside the 24h window). Templates must be approved in Meta Business Manager beforehand. `components` is an optional array of template paramet…
Try asking:

Instagram ⚠ missing config

Publish posts and manage comments on your IG Business account.

Requires: META_ACCESS_TOKENINSTAGRAM_USER_ID

post_instagram_imagewrite
Publish an image post to a connected Instagram Business account. `imageUrl` must be a publicly-accessible HTTPS URL (Instagram fetches it server-side). Two-step container+publish flow handled internally. Returns { mediaI…
list_instagram_comments
List comments on an Instagram media post. Returns { count, comments: [{id, text, username, timestamp, likeCount}] }.
reply_instagram_commentwrite
Reply to an Instagram comment. Returns { id } of the new reply comment.
Try asking:

Facebook Pages ⚠ missing config

Publish posts to your Facebook Page and read engagement insights.

Requires: META_ACCESS_TOKENFACEBOOK_PAGE_ID

post_facebook_pagewrite
Publish a post to a Facebook Page. Can be plain text, or text with a `link` to attach a link preview. Returns { postId }. NOTE: link previews on new posts have been deprecated by Meta as of 2024 — link will still be clic…
list_facebook_page_posts
List recent posts from the configured Facebook Page. Returns { count, posts: [{id, message, createdTime, permalinkUrl}] }.
get_facebook_page_insights
Get Facebook Page insights for common metrics over the last N days. Default metrics: page_impressions, page_post_engagements, page_fans. Returns raw insights.data array.
Try asking:

Facebook Messenger ⚠ missing config

Reply to people who messaged your Facebook Page first (cold-messaging is not allowed by Meta).

Requires: META_ACCESS_TOKENFACEBOOK_PAGE_ID

send_messenger_messagewrite
Send a Messenger message from your Facebook Page to a user. `recipientPsid` is the user's Page-Scoped ID (PSID) obtained from a prior incoming message webhook — you cannot message a user who hasn't initiated contact in t…
Try asking:

Threads ⚠ missing config

Post and read your Threads timeline (500 char limit per post).

Requires: THREADS_ACCESS_TOKENTHREADS_USER_ID

post_threadwrite
Publish a text post to Threads. Two-step container+publish flow handled internally. Returns { mediaId, permalink }.
list_threads_posts
List recent Threads posts from the configured user. Returns { count, posts: [{id, text, permalink, timestamp}] }.
Try asking:

Meta Ads (read-only) ⚠ missing config

List campaigns and pull insights — no campaign creation.

Requires: META_ACCESS_TOKENMETA_AD_ACCOUNT_ID

list_ad_campaigns
List ad campaigns in the configured Meta ad account. Returns { count, campaigns: [{id, name, status, objective, dailyBudget, lifetimeBudget}] }.
get_ad_campaign_insights
Get performance insights for an ad campaign over the last N days. Returns { insights } with impressions, clicks, spend, CTR, CPM, etc.
Try asking:

Meta Conversions API ⚠ missing config

Send server-side Pixel events (PII must be SHA-256 hashed before passing).

Requires: META_ACCESS_TOKENMETA_PIXEL_ID

send_conversion_eventwrite
Send a server-side conversion event to Meta Pixel (Conversions API). `eventName` is one of Meta's standard events (Purchase, Lead, CompleteRegistration, etc.) or a custom name. `userData` fields must be SHA-256 hashed fo…
Try asking:

Fireflies.ai (meeting transcripts) ●

Pull AI summaries, action items, and transcripts from your recorded meetings.

Requires: FIREFLIES_API_KEY

get_fireflies_user
Get the current Fireflies account holder's profile (name, email, integrations). Useful to verify the FIREFLIES_API_KEY is wired up correctly and to discover which user the bot is acting as.
list_fireflies_meetings
List recent Fireflies meeting transcripts (most recent first). Returns id, title, dateString, duration (minutes), host_email, organizer_email, participants count, and transcript_url. Use the returned id with get_fireflie…
get_fireflies_meeting
Fetch a single Fireflies meeting in detail — always includes title, date, duration, participants, summary (overview, action items, keywords, topics, chapters), transcript_url, audio_url, video_url. If includeSentences=tr…
search_fireflies_meetings
Search Fireflies meetings by title substring (case-insensitive). Convenience wrapper around list_fireflies_meetings with a `title` filter. Returns same shape: id, title, date, duration, etc. For semantic/content search i…
Try asking:

Cross-tool flows (no extra config — just ask) ●

Multi-tool compositions the bot does in one turn.

Try asking:
How to call programmatically
POST POST /api/ai/agent
Headers: X-AI-Bot-Token header (mint via GET /api/ai/agent/session from same origin) or Bearer AI_AGENT_API_KEY

Body:
{
  "messages": [
    {
      "role": "user",
      "content": "<your prompt>"
    }
  ],
  "provider": "anthropic | openai | gemini (optional)"
}

JSON version of this page: /api/ai/agent/abilities?format=json