# 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.

Tool of the AppliFlo MCP server at `https://appliflo.com/api/mcp`. Kind: read: it only looks, so clients can run it without asking.

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

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | string | no | Only this kind: saved, contract, library or official. One of: saved, contract, library, official |
| `query` | string | no | Words in the name, or an official form's code ("956", "W-9"). Up to 100 characters |
| `country` | string | no | Only items for this country (official forms and saved copies of them). One of: US, AU |
| `category` | string | no | Only this category, e.g. 'nda' or 'immigration'. Up to 40 characters |
| `limit` | integer | no | 1 to 100. Default: 20 |
| `offset` | integer | no | At least 0. Default: 0 |
