Create an upload link for a document
create_upload_linkCreates a temporary document record for redaction or a hidden data check. Returns document_id and purpose. Both purposes can show the Redactic upload form in the conversation. Results for browser upload include upload_url and expires_at. The sign-in protected link accepts one file directly into Redactic. Document status and later results are associated with document_id. The upload link expires after 1,800 seconds or after use. Masking accepts .bmp, .csv, .docx, .gif, .htm, .html, .jpeg, .jpg, .json, .markdown, .md, .pdf, .png, .rst, .tif, .tiff, .txt, .webp, .xlsx, .xml, .zip files up to 25 MiB. Blackout excludes ZIP files. Hidden data checks accept PDF and DOCX up to 10 MiB and PDFs up to 100 pages. Workspace quotas and page limits apply. Per-minute request limits depend on the workspace and apply per connection.
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": "create_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Initial redaction mode, either mask (the default) or blackout. The uploader can change it. | |
| purpose | No | Upload purpose. redact (the default) is for masking or blackout. check is for hidden data checks in a PDF or DOCX. | |
| reversible | No | Initial restore map selection for mask mode, off by default. The uploader can change it. A restore map allows original values to be recovered from labels in an edited file. |