concur_attach_receipt
Attach an existing receipt image to an expense entry that lacks one, with user confirmation required. Refused if the expense already has a receipt; undo by detaching.
Instructions
Attach a receipt image already in SAP Concur (from concur_list_available_receipts, or uploaded with concur_upload_receipt) to an expense that has no receipt yet; an expense that already has one is refused (use concur_append_receipt, or concur_detach_receipt first). Undo with concur_detach_receipt. Re-reads the expense afterwards. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageId | Yes | Receipt image id (`imageId` from concur_list_available_receipts, or `receiptImageId` on an expense). | |
| reportId | Yes | Report id (`reportId` from concur_list_reports). | |
| expenseId | Yes | Expense entry id (`expenseId` from concur_get_report). | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |