Ingest document
ingest_documentFile a policy PDF into the vault. Send the file as content_base64 (standard base64, optional data: URL). Same storage, inbox, and parse path as the website. Links to a matching policy when the parser can; otherwise lands in the inbox. Returns a structured summary only — never PDS text. Max decoded size 4MB (Streamable HTTP limit). Requires vault.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blob | No | Alias for content_base64. | |
| filename | Yes | Original filename, e.g. nrma-car.pdf | |
| mime_type | No | Defaults to application/pdf. | |
| policy_id | No | Optional policy to link when already known. | |
| content_base64 | No | File bytes as standard base64. data:application/pdf;base64,... is accepted. |