Skip to Content

list_templates

List everything this workspace can start a document from, in one list (the app's Templates page): the workspace's saved templates first, then AppliFlo's contract templates, then the official government forms (e.g.

readOnly reads. Clients can run it without asking you.

What it does

List everything this workspace can start a document from, in one list (the app's Templates page): the workspace's saved templates first, then AppliFlo's contract templates, then the official government forms (e.g. Home Affairs Form 956, IRS W-9). Call this BEFORE create_from_template, send_template or send_template_bulk: it tells you the template_id, its role keys and version; never guess them. Use get_template for the boxes. To send an official form to someone ("Send Form 956 to Lan"), find it here with query (e.g. "956") instead of asking for a file. Filters: kind, query (name or form code), country (US or AU), category. Paginated with limit/offset (default limit 20, max 100); total is the number of matches. Free-form drafting of arbitrary legal documents is not supported: if nothing fits, say so rather than improvising one. The list is light: each row has template_id, kind, name, status, version, roles[], official_form, country, pages, own_risk, setup_required, esign ({mode} only, or null) and counts instead of boxes: box_count, sender_box_count (boxes you may prefill) and fixed_box_count (boxes the template fills itself). Use get_template for the boxes (sender_fields[], fixed_fields[], a contract's required_values[] and party_fields[]) and the e-sign notice, before you prefill or override any box. Each entry (get_template's shape): template_id (what get_template, create_from_template, send_template and send_template_bulk take), kind (saved = the workspace's own; contract = a contract template the workspace wrote in the older model, drafted with values and recipients (see its required_values[], recipients_required and party_fields[]); library = an AppliFlo contract template; official = a government form from AppliFlo's official forms library, with official_form {code, label, title, agency, agency_name} and country), name, status, version (the current one: send_template_bulk needs it), roles[] in signing order (key is what people takes, e.g. {"r1": {name, email}}; label is the human name such as Client; kind signer|filler), sender_fields[] (the only boxes you may prefill, keyed by index; bulk: true ones can be prefilled per row) and fixed_fields[] (boxes the template fills itself). status ready: set up with roles, use it with send_template (one call) or create_from_template + send_envelope. status draft: a saved template an owner or admin hasn't finalised (create_from_template gives a draft document; send_template refuses it), or an official form AppliFlo hasn't set up (create_from_template imports it as a document with its fields read; fill it, then add recipients at send_envelope). own_risk: true: an AppliFlo contract no lawyer has reviewed; it is used only after the person accepts the own-risk terms (risk_accepted: true). setup_required: true: the app asks for a one-time set-up of this form in the workspace (its business details and who sends it); without it, a box the set-up would answer refuses the draft or send with 422 unanswered_ask or missing_detail: give it in fixed_overrides, or ask an owner or admin to set the form up in the app. esign (null for most): {mode, notice}; mode block = the agency wants a handwritten signature, so it can be filled and downloaded but never sent for e-signing (422 esign_not_allowed); warn = the sender must acknowledge the notice (esign_risk_acknowledged: true).

Inputs

NameTypeDescription
kindstringOnly this kind: saved, contract, library or official.One of: saved, contract, library, official
querystringWords in the name, or an official form's code ("956", "W-9").Up to 100 characters
countrystringOnly items for this country (official forms and saved copies of them).One of: US, AU
categorystringOnly this category, e.g. 'nda' or 'immigration'.Up to 40 characters
limitinteger1 to 100 · Default: 20
offsetintegerAt least 0 · Default: 0

Call it

Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_templates",
    "arguments": {}
  }
}

Input schema

The JSON Schema the server lists for this tool in tools/list.

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "saved",
        "contract",
        "library",
        "official"
      ],
      "description": "Only this kind: saved, contract, library or official."
    },
    "query": {
      "type": "string",
      "maxLength": 100,
      "description": "Words in the name, or an official form's code (\"956\", \"W-9\")."
    },
    "country": {
      "type": "string",
      "enum": [
        "US",
        "AU"
      ],
      "description": "Only items for this country (official forms and saved copies of them)."
    },
    "category": {
      "type": "string",
      "maxLength": 40,
      "description": "Only this category, e.g. 'nda' or 'immigration'."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "default": 0
    }
  }
}

On this page