capout_process_pdf is the primary MCP tool for single-document processing.
Required arguments
- Send exactly one of:
pdfurlfile_base64file_path
- When using
file_base64, also sendfile_name
file_base64, keep the PDF at or below 50 MiB.
xn_address and profile_code are optional, deprecated compatibility inputs. New MCP calls should omit them. CapOut generates both Contractor (8D) and Carrier (5L) files for every successful workflow.
For local or workspace PDFs on a hosted MCP, use Staged Uploads, which supports PDFs up to 50 MiB.
For the public CapOut MCP, the practical inputs are pdf, url, and file_base64. The MCP is hosted remotely and cannot read your local machine paths directly.
Use the right source type
- Use
pdffor ChatGPT-style file attachments that includedownload_urlandfile_id - Use
urlfor a publichttps://PDF URL - Use
file_base64when the client has bytes but not a URL and the inline payload stays within the50 MiBlimit - Use
file_pathonly for a path that already exists on the CapOut MCP server itself. Do not send your local/Users/...or workspace path here.
Example: attached PDF
Example: HTTPS PDF URL
Example: inline base64
Successful response
The MCP returns the document handoff plus stable links that can be saved immediately:download_url is the default Contractor link. The URLs stay stable
and refresh their private S3 signature after an authenticated request. The key
must belong to the document’s organization.
What to do next
After the document is accepted, keep polling until the export reaches a terminal state: When the status tool reports success, returndownload_url and
carrier_download_url with the capout-api-key header requirement. Do not put
the key in a URL, and do not return or retain the redirected S3 URL.