deal_application_editor.prepare_attachment_uploadAuthorize a five-minute upload of the exact PDF reviewed by review_attachment_change(action=set). Copy filename/content_sha256/size_bytes unchanged and review_digest plus both revisions to expected_live_revision and expected_draft_revision. This changes only the draft. Use transfer_token as the Bearer credential when POSTing multipart attachment outside the model. Only file blocks and PDFs up to 25 MiB are supported. The draft changes only after redemption, which repeats live access and state checks. Returned receipt is authoritative. This does not publish, notify, or change submitted answer files. Uncertain retries reuse identical arguments, bytes, and client_request_id. Keep credentials out of logs. This toolset requires a specific grant and is not assigned by default; request access through Support.
- Operation
- write
- OAuth scopes
- mcp
Availability depends on your assigned tools. Scopes do not grant record access. Read the tool description and current resource before changing it; follow the required revision and idempotency fields below.
Inputs
| Name and description | Required |
|---|---|
client_request_idUnique mutation identity; uncertain retries use identical arguments and the same key. | Yes |
content_sha256SHA-256 digest of the exact proposed PDF bytes. | Yes |
deal_idExact Deal id from deals.list or deals.get in the selected provider workspace; do not pass an application or runtime ID. | Yes |
expected_draft_revisionCopy draft_revision from the same current action review. | Yes |
expected_live_revisionCopy live_revision from the current action review. | Yes |
filenamePDF filename only, without a directory path. | Yes |
provider_slugProvider workspace returned by providers.list. | Yes |
review_digestSHA-256 fingerprint of the exact document content. | Yes |
size_bytesSee the input schema for constraints. | Yes |
stable_block_idExact stable_block_id of a file block from get_config; signatures are unsupported. | Yes |
user_confirmedSee the input schema for constraints. | No |
View exact input schema
Result
Check the structured result for success or an error before continuing. Read the affected record to confirm your change.
View exact output schema
For this workflow’s steps and prerequisites, read the Deal application editor guide.
