upload_file
Upload a PDF for processing by providing a local path or public URL, making it available for other PDFGate operations.
Instructions
Upload a PDF to PDFGate so it can be referenced by other operations. Provide either 'filePath' (local path) or 'url'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Publicly accessible URL of the PDF to upload | |
| filePath | No | Absolute local path to the PDF file to upload | |
| metadata | No | Custom metadata to attach | |
| preSignedUrlExpiresIn | No | Pre-signed download URL expiry in seconds (60–86400) |