download_document
Get a short-lived signed download URL for a PDF artifact.
readOnly reads. Clients can run it without asking you.
What it does
Get a short-lived signed download URL for a PDF artifact. Pass EITHER document_id (artifact: 'original' — the as-uploaded PDF, the default — or 'filled' — the last fill_document/fill_form_oneshot output; 404s if never filled) OR envelope_id (artifact 'sealed', the default there — the completed, signed PDF; only available once the envelope is fully signed). Never both: a call with both ids is refused. A filled or signed PDF contains the full form as filled in, ID numbers included (replies show them only as their last 3 characters).
Inputs
| Name | Type | Description |
|---|---|---|
document_id | string | A document's id. Not with envelope_id. |
envelope_id | string | An envelope's id, for its sealed PDF. Not with document_id. |
artifact | string | original or filled (default original) with document_id; sealed (the default) with envelope_id.One of: original, filled, sealed |
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": "download_document",
"arguments": {}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"properties": {
"document_id": {
"type": "string",
"minLength": 1,
"description": "A document's id. Not with envelope_id."
},
"envelope_id": {
"type": "string",
"minLength": 1,
"description": "An envelope's id, for its sealed PDF. Not with document_id."
},
"artifact": {
"type": "string",
"enum": [
"original",
"filled",
"sealed"
],
"description": "original or filled (default original) with document_id; sealed (the default) with envelope_id."
}
}
}void_envelope
Permanently cancel an envelope (a reason is required and is stored on the audit trail).
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.