{
  "service": "pdf_api_io",
  "displayName": "PDF-API.io",
  "categories": [
    "Productivity",
    "Design & Media"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Token",
      "placeholder": "pdf_api_io_token",
      "description": "PDF-API.io API token used with the Authorization Bearer header. Create it from the official API Tokens page: https://pdf-api.io/app/api-tokens.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://pdf-api.io",
  "actions": [
    {
      "id": "pdf_api_io.get_template",
      "service": "pdf_api_io",
      "name": "get_template",
      "description": "Get one PDF-API.io template by template ID, including team and variable details.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "description": "The template identifier to retrieve."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for retrieving one PDF-API.io template."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "template": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The template identifier."
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "description": "The template display name."
              },
              "type": {
                "type": "string",
                "minLength": 1,
                "description": "The upstream template type such as editor or html."
              },
              "createdAt": {
                "type": "string",
                "minLength": 1,
                "description": "The ISO 8601 timestamp when the template was created."
              },
              "meta": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "Template metadata returned by PDF-API.io when available."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "variables": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The placeholder or variable name used in the template."
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "description": "The upstream variable type reported by PDF-API.io."
                    }
                  },
                  "additionalProperties": false,
                  "description": "One template variable entry returned by PDF-API.io."
                },
                "description": "The variables that can be substituted when rendering the template."
              },
              "teamName": {
                "type": "string",
                "minLength": 1,
                "description": "The team name that owns the template."
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "description": "The team identifier that owns the template."
              }
            },
            "additionalProperties": false,
            "description": "A detailed PDF-API.io template payload."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the get_template action."
      }
    },
    {
      "id": "pdf_api_io.list_templates",
      "service": "pdf_api_io",
      "name": "list_templates",
      "description": "List the PDF-API.io templates accessible to the provided API token.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "No input parameters are required for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "templates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The template identifier."
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The template display name."
                },
                "type": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The upstream template type such as editor or html."
                },
                "createdAt": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The ISO 8601 timestamp when the template was created."
                },
                "meta": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": true,
                      "description": "Template metadata returned by PDF-API.io when available."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "variables": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The placeholder or variable name used in the template."
                      },
                      "type": {
                        "type": "string",
                        "minLength": 1,
                        "description": "The upstream variable type reported by PDF-API.io."
                      }
                    },
                    "additionalProperties": false,
                    "description": "One template variable entry returned by PDF-API.io."
                  },
                  "description": "The variables that can be substituted when rendering the template."
                }
              },
              "additionalProperties": false,
              "description": "A PDF-API.io template summary."
            },
            "description": "The templates returned by PDF-API.io for the current account."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the list_templates action."
      }
    },
    {
      "id": "pdf_api_io.render_pdf",
      "service": "pdf_api_io",
      "name": "render_pdf",
      "description": "Render one PDF-API.io template with JSON data and return the temporary hosted PDF URL.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "description": "The template identifier used to generate the PDF."
          },
          "data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The key-value payload used to replace placeholders in the template."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for rendering a PDF-API.io template to a hosted PDF URL."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "fileUrl": {
            "type": "string",
            "minLength": 1,
            "description": "The temporary PDF download URL returned by PDF-API.io."
          },
          "transitFile": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "fileId": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The local transit file identifier."
                  },
                  "downloadUrl": {
                    "type": "string",
                    "description": "The local URL for downloading the transit file.",
                    "format": "uri"
                  },
                  "sizeBytes": {
                    "type": "number",
                    "description": "The transit file size in bytes."
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The transit file name."
                  },
                  "mimeType": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The transit file MIME type."
                  }
                },
                "additionalProperties": false,
                "description": "A copy of a provider-generated file stored in local transit storage."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the render_pdf action."
      }
    }
  ]
}
