extract_attachments
Extract embedded files and attachments from a PDF, including support for password-protected or remote documents. Simplify retrieval of associated data or resources stored within PDF files.
Instructions
Extracts attachments from a source PDF file.
Ref: https://developer.pdf.co/api-reference/pdf-extract-attachments.md
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | No | PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional) | |
httppassword | No | HTTP auth password if required to access source url. (Optional) | |
httpusername | No | HTTP auth user name if required to access source url. (Optional) | |
password | No | Password of PDF file. (Optional) | |
url | Yes | URL to the source PDF file. |
Input Schema (JSON Schema)
{
"properties": {
"api_key": {
"default": "",
"description": "PDF.co API key. If not provided, will use X_API_KEY environment variable. (Optional)",
"title": "Api Key",
"type": "string"
},
"httppassword": {
"default": "",
"description": "HTTP auth password if required to access source url. (Optional)",
"title": "Httppassword",
"type": "string"
},
"httpusername": {
"default": "",
"description": "HTTP auth user name if required to access source url. (Optional)",
"title": "Httpusername",
"type": "string"
},
"password": {
"default": "",
"description": "Password of PDF file. (Optional)",
"title": "Password",
"type": "string"
},
"url": {
"description": "URL to the source PDF file.",
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}