{
  "service": "pdfmonkey",
  "displayName": "PDFMonkey",
  "categories": [
    "Productivity",
    "Design & Media"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "pdfmonkey_secret_key",
      "description": "PDFMonkey secret API key used with the Authorization Bearer header. Find it on the API Key page in the PDFMonkey dashboard: https://pdfmonkey.io/docs/api/authentication/.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://pdfmonkey.io",
  "actions": [
    {
      "id": "pdfmonkey.create_document",
      "service": "pdfmonkey",
      "name": "create_document",
      "description": "Create a PDFMonkey document and optionally queue generation immediately by setting status to pending.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "description": "The template UUID used for generation."
          },
          "payload": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "A JSON object value."
              },
              {
                "type": "string",
                "description": "A JSON string value."
              }
            ],
            "description": "The JSON object or JSON string passed to PDFMonkey as the document payload."
          },
          "meta": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "A JSON object value."
              },
              {
                "type": "string",
                "description": "A JSON string value."
              }
            ],
            "description": "The JSON object or JSON string passed to PDFMonkey as document metadata."
          },
          "status": {
            "type": "string",
            "enum": [
              "draft",
              "pending"
            ],
            "description": "The PDFMonkey creation status. Use pending to queue generation immediately."
          }
        },
        "additionalProperties": false,
        "required": [
          "documentTemplateId"
        ],
        "description": "Input parameters for creating a PDFMonkey document."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "document": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The document identifier."
              },
              "appId": {
                "type": "string",
                "minLength": 1,
                "description": "The workspace identifier that owns the document."
              },
              "createdAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the document was created."
              },
              "documentTemplateId": {
                "type": "string",
                "minLength": 1,
                "description": "The template identifier used by the document."
              },
              "documentTemplateIdentifier": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The human-readable template identifier when present."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "downloadUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The signed download URL for the generated file."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "failureCause": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The upstream failure message when generation failed."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "filename": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The generated filename when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "meta": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A JSON object value."
                  },
                  {
                    "type": "string",
                    "description": "A JSON string value."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A JSON object, JSON string, or null value."
              },
              "outputType": {
                "type": "string",
                "minLength": 1,
                "description": "The generated output type such as pdf or image."
              },
              "previewUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The preview URL for the generated document when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "publicShareLink": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The public share URL when sharing is enabled."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "pending",
                  "generating",
                  "success",
                  "failure"
                ],
                "description": "The current PDFMonkey document status."
              },
              "updatedAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the document was last updated."
              },
              "checksum": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The checksum reported for the document payload."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "generationLogs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The log entry type returned by PDFMonkey."
                    },
                    "message": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The log entry message."
                    },
                    "timestamp": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The timestamp recorded for this generation log entry."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A PDFMonkey generation log entry."
                },
                "description": "The generation log entries returned by PDFMonkey."
              },
              "payload": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A JSON object value."
                  },
                  {
                    "type": "string",
                    "description": "A JSON string value."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A JSON object, JSON string, or null value."
              }
            },
            "additionalProperties": false,
            "description": "A normalized full PDFMonkey document."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the create_document action."
      }
    },
    {
      "id": "pdfmonkey.get_current_user",
      "service": "pdfmonkey",
      "name": "get_current_user",
      "description": "Get the current PDFMonkey account resolved by the provided API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input parameters are required for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "currentUser": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The PDFMonkey current_user identifier."
              },
              "availableDocuments": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The number of available documents remaining for the account."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the account was created."
              },
              "currentPlan": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The current billing plan name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currentPlanInterval": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The current billing interval name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "desiredName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The display name configured for the account."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "email": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The account email address."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "lang": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The account language code."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "payingCustomer": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the current account is a paying customer."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "trialEndsOn": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The account trial end date when present."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updatedAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the account was last updated."
              },
              "blockResources": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether resource blocking is enabled for generated documents."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "shareLinks": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether public share links are enabled for the account."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false,
            "description": "Normalized PDFMonkey current user details."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the get_current_user action."
      }
    },
    {
      "id": "pdfmonkey.get_document",
      "service": "pdfmonkey",
      "name": "get_document",
      "description": "Get one full PDFMonkey document including its payload and generation logs.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "minLength": 1,
            "description": "The document UUID to retrieve."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving one full PDFMonkey document."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "document": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The document identifier."
              },
              "appId": {
                "type": "string",
                "minLength": 1,
                "description": "The workspace identifier that owns the document."
              },
              "createdAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the document was created."
              },
              "documentTemplateId": {
                "type": "string",
                "minLength": 1,
                "description": "The template identifier used by the document."
              },
              "documentTemplateIdentifier": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The human-readable template identifier when present."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "downloadUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The signed download URL for the generated file."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "failureCause": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The upstream failure message when generation failed."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "filename": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The generated filename when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "meta": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A JSON object value."
                  },
                  {
                    "type": "string",
                    "description": "A JSON string value."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A JSON object, JSON string, or null value."
              },
              "outputType": {
                "type": "string",
                "minLength": 1,
                "description": "The generated output type such as pdf or image."
              },
              "previewUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The preview URL for the generated document when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "publicShareLink": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The public share URL when sharing is enabled."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "pending",
                  "generating",
                  "success",
                  "failure"
                ],
                "description": "The current PDFMonkey document status."
              },
              "updatedAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the document was last updated."
              },
              "checksum": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The checksum reported for the document payload."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "generationLogs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The log entry type returned by PDFMonkey."
                    },
                    "message": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The log entry message."
                    },
                    "timestamp": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The timestamp recorded for this generation log entry."
                    }
                  },
                  "additionalProperties": false,
                  "description": "A PDFMonkey generation log entry."
                },
                "description": "The generation log entries returned by PDFMonkey."
              },
              "payload": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A JSON object value."
                  },
                  {
                    "type": "string",
                    "description": "A JSON string value."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A JSON object, JSON string, or null value."
              }
            },
            "additionalProperties": false,
            "description": "A normalized full PDFMonkey document."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the get_document action."
      }
    },
    {
      "id": "pdfmonkey.get_document_card",
      "service": "pdfmonkey",
      "name": "get_document_card",
      "description": "Get one PDFMonkey document card for lightweight status polling without the full payload.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "minLength": 1,
            "description": "The document UUID to fetch as a document card."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving one PDFMonkey document card."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "documentCard": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The document identifier."
              },
              "appId": {
                "type": "string",
                "minLength": 1,
                "description": "The workspace identifier that owns the document."
              },
              "createdAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the document was created."
              },
              "documentTemplateId": {
                "type": "string",
                "minLength": 1,
                "description": "The template identifier used by the document."
              },
              "documentTemplateIdentifier": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The human-readable template identifier when present."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "downloadUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The signed download URL for the generated file."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "failureCause": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The upstream failure message when generation failed."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "filename": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The generated filename when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "meta": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "A JSON object value."
                  },
                  {
                    "type": "string",
                    "description": "A JSON string value."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "A JSON object, JSON string, or null value."
              },
              "outputType": {
                "type": "string",
                "minLength": 1,
                "description": "The generated output type such as pdf or image."
              },
              "previewUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The preview URL for the generated document when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "publicShareLink": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The public share URL when sharing is enabled."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "pending",
                  "generating",
                  "success",
                  "failure"
                ],
                "description": "The current PDFMonkey document status."
              },
              "updatedAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the document was last updated."
              }
            },
            "additionalProperties": false,
            "description": "A normalized PDFMonkey document card."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the get_document_card action."
      }
    },
    {
      "id": "pdfmonkey.get_document_template",
      "service": "pdfmonkey",
      "name": "get_document_template",
      "description": "Get one full PDFMonkey document template including draft and published fields.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "description": "The template UUID to retrieve."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving one full PDFMonkey document template."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "documentTemplate": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The template identifier."
              },
              "appId": {
                "type": "string",
                "minLength": 1,
                "description": "The workspace identifier that owns the template."
              },
              "identifier": {
                "type": "string",
                "minLength": 1,
                "description": "The human-readable template identifier."
              },
              "editionMode": {
                "type": "string",
                "minLength": 1,
                "description": "The template edition mode."
              },
              "outputType": {
                "type": "string",
                "minLength": 1,
                "description": "The output type used by documents generated from this template."
              },
              "templateFolderId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The folder identifier used to group the template."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "ttl": {
                "type": "number",
                "description": "The time-to-live in seconds for documents generated by this template."
              },
              "createdAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the template was created."
              },
              "updatedAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the template was last updated."
              },
              "previewUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The preview URL for the template when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "body": {
                "type": "string",
                "description": "The published HTML and Liquid body."
              },
              "bodyDraft": {
                "type": "string",
                "description": "The draft HTML and Liquid body."
              },
              "scssStyle": {
                "type": "string",
                "description": "The published CSS or SCSS styles."
              },
              "scssStyleDraft": {
                "type": "string",
                "description": "The draft CSS or SCSS styles."
              },
              "sampleData": {
                "type": "string",
                "description": "The published sample data string."
              },
              "sampleDataDraft": {
                "type": "string",
                "description": "The draft sample data string."
              },
              "settings": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The published PDFMonkey template settings object."
              },
              "settingsDraft": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The draft PDFMonkey template settings object."
              },
              "pdfEngineId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The published PDF engine identifier."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pdfEngineDraftId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The draft PDF engine identifier."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "checksum": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The checksum returned for this template."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false,
            "description": "A normalized full PDFMonkey document template."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the get_document_template action."
      }
    },
    {
      "id": "pdfmonkey.list_document_cards",
      "service": "pdfmonkey",
      "name": "list_document_cards",
      "description": "List PDFMonkey document cards with optional filters for template, status, workspace, update time, and search text.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "pageNumber": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to request."
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "description": "Filter documents by one template UUID or comma-separated template UUIDs."
          },
          "status": {
            "type": "string",
            "enum": [
              "draft",
              "pending",
              "generating",
              "success",
              "failure"
            ],
            "description": "The current PDFMonkey document status."
          },
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "description": "Filter documents by workspace UUID."
          },
          "updatedSince": {
            "type": "string",
            "minLength": 1,
            "description": "Only return documents updated after this Unix timestamp or ISO 8601 string."
          },
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search by document UUID or filename."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing PDFMonkey document cards."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "documentCards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The document identifier."
                },
                "appId": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The workspace identifier that owns the document."
                },
                "createdAt": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The ISO 8601 timestamp when the document was created."
                },
                "documentTemplateId": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The template identifier used by the document."
                },
                "documentTemplateIdentifier": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The human-readable template identifier when present."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "downloadUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The signed download URL for the generated file."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "failureCause": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The upstream failure message when generation failed."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "filename": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The generated filename when available."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "meta": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "A JSON object value."
                    },
                    {
                      "type": "string",
                      "description": "A JSON string value."
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "A JSON object, JSON string, or null value."
                },
                "outputType": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The generated output type such as pdf or image."
                },
                "previewUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The preview URL for the generated document when available."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "publicShareLink": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The public share URL when sharing is enabled."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "draft",
                    "pending",
                    "generating",
                    "success",
                    "failure"
                  ],
                  "description": "The current PDFMonkey document status."
                },
                "updatedAt": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The ISO 8601 timestamp when the document was last updated."
                }
              },
              "additionalProperties": false,
              "description": "A normalized PDFMonkey document card."
            },
            "description": "The PDFMonkey document cards returned for the request."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "currentPage": {
                "type": "integer",
                "description": "The current page number."
              },
              "nextPage": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The next page number when another page exists."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "prevPage": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The previous page number when a previous page exists."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalPages": {
                "type": "integer",
                "description": "The total number of pages available."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by PDFMonkey list endpoints."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the list_document_cards action."
      }
    },
    {
      "id": "pdfmonkey.list_document_template_cards",
      "service": "pdfmonkey",
      "name": "list_document_template_cards",
      "description": "List PDFMonkey document template cards for one workspace with optional folder, page, and sort filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspaceId": {
            "type": "string",
            "minLength": 1,
            "description": "The workspace UUID to list templates from."
          },
          "folders": {
            "type": "string",
            "minLength": 1,
            "description": "An optional comma-separated folder list, none, or all."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to request."
          },
          "sort": {
            "type": "string",
            "minLength": 1,
            "description": "The template sort expression accepted by PDFMonkey."
          }
        },
        "additionalProperties": false,
        "required": [
          "workspaceId"
        ],
        "description": "Input parameters for listing PDFMonkey document template cards."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "documentTemplateCards": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The template identifier."
                },
                "appId": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The workspace identifier that owns the template."
                },
                "identifier": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The human-readable template identifier."
                },
                "editionMode": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The template edition mode."
                },
                "outputType": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The output type used by documents generated from this template."
                },
                "templateFolderId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The folder identifier used to group the template."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "ttl": {
                  "type": "number",
                  "description": "The time-to-live in seconds for documents generated by this template."
                },
                "createdAt": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The ISO 8601 timestamp when the template was created."
                },
                "updatedAt": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The ISO 8601 timestamp when the template was last updated."
                },
                "previewUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The preview URL for the template when available."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "A normalized PDFMonkey document template card."
            },
            "description": "The PDFMonkey document template cards returned for the request."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "currentPage": {
                "type": "integer",
                "description": "The current page number."
              },
              "nextPage": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The next page number when another page exists."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "prevPage": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The previous page number when a previous page exists."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalPages": {
                "type": "integer",
                "description": "The total number of pages available."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by PDFMonkey list endpoints."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the list_document_template_cards action."
      }
    }
  ]
}
