KosmoKrator

documents

PandaDoc CLI for Headless Automation

Use the PandaDoc CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

9 functions 6 read 3 write Manual OAuth token auth

PandaDoc CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The PandaDoc CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# PandaDoc CLI for Headless Automation
kosmokrator integrations:configure pandadoc --set access_token="$PANDADOC_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call pandadoc.pandadoc_list_documents '{"page":1,"count":1}' --json

Discovery Before Execution

Agents and scripts can inspect PandaDoc docs and schemas before choosing a function.

kosmo integrations:docs pandadoc --json
kosmo integrations:docs pandadoc.pandadoc_list_documents --json
kosmo integrations:schema pandadoc.pandadoc_list_documents --json
kosmo integrations:search "PandaDoc" --json
kosmo integrations:list --json

Useful PandaDoc CLI Functions

FunctionTypeParametersDescription
pandadoc.pandadoc_list_documents Read page, count List documents from PandaDoc. Returns a paginated list of documents with their IDs, names, status, and metadata.
pandadoc.pandadoc_get_document Read id Get details of a specific PandaDoc document by ID. Returns document metadata, status, recipients, and fields.
pandadoc.pandadoc_create_document Write name, template_id, recipients, tokens, fields, metadata Create a new PandaDoc document from an existing template. The document is created in draft status and can then be sent for signature.
pandadoc.pandadoc_send_document Write id, message, silent Send a PandaDoc document to recipients for signature. The document must be in draft status. Once sent, recipients will receive an email notification.
pandadoc.pandadoc_list_templates Read page List available document templates from PandaDoc. Returns template IDs, names, and metadata for creating new documents.
pandadoc.pandadoc_get_template Read id Get details of a specific PandaDoc template by ID. Returns template metadata, fields, tokens, and recipient roles.
pandadoc.pandadoc_download_document Read id Download a PandaDoc document as a PDF. Returns the PDF content as a base64-encoded string.
pandadoc.pandadoc_create_link Write id, lifetime Create a signed sharing link (session) for a PandaDoc document. The link allows viewing the document without authentication.
pandadoc.pandadoc_get_current_user Read none Get the profile of the currently authenticated PandaDoc user. Useful for verifying the connection and identifying the account.

Automation Notes

Related PandaDoc CLI Pages