Eingegangenen PDF-Brief erfassen
intake_physical_mailArchive an explicitly user-selected incoming PDF letter (max 10 MiB) in the connected tenant. Requires communications:read and separate communications:intake consent. Supply exactly one: pdfFile using the actual ChatGPT attachment/file ID when the host exposes this parameter as a string; the host supplies download_url and file_id (optional mime_type/file_name) to the server, or original bytes as canonical pdfBase64. Never invent bytes, URLs, file IDs or reconstruct a document. A /mnt/data path alone is not a file handle; if the host cannot pass the file, use the existing Brief erfassen UI. Supports HTTPS files.oaiusercontent.com, the signed chatgpt.com/backend-api/estuary/content endpoint bound to the same file ID, and standard public Azure Blob URLs with a bounded, signed read-only single-blob SAS; no arbitrary URL fetch, container access or redirects. Source metadata never grants tenant authority. fileName and summary required; summary is caller supplied, not verified OCR. Optional contactId is existing linked User ID; reservationId is existing tenant case. Keep the UUID requestKey, original PDF and metadata identical on retry; an expired download handle may be refreshed for the same original file. Changed bytes/metadata conflict. Returns stored_only, SHA256, documentRecognition and get_thread next read. With existing accounting:read/operator:execute consent and current actor accounting write/manage authority, invokes the shared original-document recognition service. Supplier invoices return extracted evidence and review_required for the existing financial-module import path; this OAuth grant does not delegate draft creation; payment reminders only link an unambiguous existing original, otherwise report review_required without creating a payable. Without that delegated authority, archive succeeds and recognition reports review_required. No reply, payment, external bookkeeping send, signature or legal completion.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"requestKey": "<requestKey>",
"fileName": "<fileName>",
"summary": "<summary>"
},
"name": "intake_physical_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdfFile | No | Actual host PDF attachment handle instead of pdfBase64. The host supplies its fields; a /mnt/data path alone is not a handle. | |
| subject | No | Optional supplied letter subject; omit rather than infer an unverified claim. | |
| summary | Yes | Required caller-supplied factual summary of the selected original, not verified OCR, authenticity or resolution evidence. | |
| fileName | Yes | Actual original PDF filename for the archive, at most 180 characters. | |
| contactId | No | Optional exact existing linked User ID for this tenant; not permission to create or infer a contact identity. | |
| pdfBase64 | No | Canonical base64 of the actual original PDF, up to 10 MiB decoded. Supply exactly one of pdfBase64/pdfFile; no reconstruction or fabricated bytes. | |
| requestKey | Yes | One UUID for this explicitly supplied original letter and metadata. Preserve on recovery; a fresh download handle may refer only to the same original file. | |
| reservationId | No | Optional exact existing tenant case/reservation ID to link; not a new booking or inferred business outcome. |