{
  "service": "pdfless",
  "displayName": "Pdfless",
  "categories": [
    "Productivity",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "pdfless_api_key",
      "description": "Pdfless API key used with the apikey header. Create it from your Pdfless account as described at https://pdfless.com/docs.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://pdfless.com",
  "actions": [
    {
      "id": "pdfless.get_workspace",
      "service": "pdfless",
      "name": "get_workspace",
      "description": "Get the current Pdfless workspace details 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": {
          "workspace": {
            "type": "object",
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The workspace name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "active": {
                "type": "boolean",
                "description": "Whether the workspace is currently active."
              },
              "createdAt": {
                "type": "string",
                "description": "The ISO 8601 timestamp when the workspace was created."
              },
              "updatedAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The ISO 8601 timestamp when the workspace was last updated."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "quota": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The total quota available for the workspace."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "remainingQuota": {
                "anyOf": [
                  {
                    "type": "integer",
                    "description": "The remaining quota available for the workspace."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false,
            "description": "Normalized workspace details returned by the Pdfless API."
          }
        },
        "additionalProperties": false,
        "description": "The normalized output payload for the get_workspace action."
      }
    },
    {
      "id": "pdfless.list_document_templates",
      "service": "pdfless",
      "name": "list_document_templates",
      "description": "List document templates in the current Pdfless workspace with optional pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based page number to request."
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of templates to return per page."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing document templates."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "templates": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The unique identifier of the document template."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The template name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "imagePreviewUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The preview image URL for the document template."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pdfPreviewUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The preview PDF URL for the document template."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "description": "The ISO 8601 timestamp when the template was created."
                },
                "updatedAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The ISO 8601 timestamp when the template was last updated."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "description": "A document template in the current Pdfless workspace."
            },
            "description": "The document templates returned for the requested page."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current page number."
              },
              "pageSize": {
                "type": "integer",
                "description": "The number of items per page."
              },
              "totalItems": {
                "type": "integer",
                "description": "The total number of document templates."
              },
              "totalPages": {
                "type": "integer",
                "description": "The total number of pages."
              }
            },
            "additionalProperties": false,
            "description": "Pagination information returned with the template list when available."
          }
        },
        "additionalProperties": false,
        "required": [
          "templates"
        ],
        "description": "The normalized output payload for the list_document_templates action."
      }
    }
  ]
}
