Upload complaint/claim attachments
upload_attachmentUpload 1–5 image attachments (damage, label, invoice) to a warranty claim or complaint using a server-provided multipart action. Requires a one-time token from prepare_mutation and user confirmation.
Instructions
Upload 1–5 image attachments (base64 data URLs, whitelisted image MIME types, max 10 MiB each) by executing the server-provided multipart action (uploadImageAction / complaint attachment actions) — typically for a warranty claim from complaint_claims. Use when the user needs to attach photos (damage, label, invoice) to a claim or complaint. Mutating: requires a one-time token from prepare_mutation (action=attachment_upload) and user confirmation. Optional values carries extra typed form fields verbatim from the form response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | The image files to upload (1–5, ≤10 MiB each). | |
| action | Yes | An AppAction object copied verbatim from a prior tool response (e.g. `profile`); it must contain form.meta.href. Never hand-craft URLs. | |
| values | No | Extra typed form values copied verbatim from the form response (payment/installment/consent fields). Omit if the form returned none. | |
| confirmation_token | Yes | One-time token from `prepare_mutation` prepared with the matching action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |