Batch Upload PDFs
batch_upload_pdfUpload multiple PDF files from ChatGPT file attachments.
Use this when the user provides multiple file attachments in ChatGPT. Downloads each PDF from its signed URL and stores it. Returns session_id and a list of job_ids.
Like upload_pdf, this ONLY works on hosts that resolve chat attachments for you (ChatGPT). On Claude and other MCP clients, call create_upload_page instead. Never invent or guess a download_url or file_id.
MANDATORY WORKFLOW before calling this tool:
ALWAYS call check_upload_status FIRST — even if you think the files are new.
Only include files confirmed absent from check_upload_status. If ALL files are already uploaded, skip batch_upload_pdf entirely and reuse the existing job_ids.
Reuse job_ids from already_uploaded — do NOT re-upload those files. Skipping step 1 and calling batch_upload_pdf directly is FORBIDDEN.
After batch_upload_pdf completes: if the user requested a comparison, call 'compare_pdfs' with the returned job_ids immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_files | Yes | The file attachments, supplied by the host. | |
| session_id | No | Existing session ID to group these files. If omitted, a new session is created. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| file_count | Yes | ||
| reply_note | Yes | ||
| session_id | Yes | ||
| instructions | Yes |