concur_detach_receipt
Detach a receipt image from an expense on an unsubmitted SAP Concur report, with confirmation, so it can be reattached elsewhere or returned to the receipt store.
Instructions
Take the receipt image off an expense on an unsubmitted SAP Concur report (re-attach one with concur_attach_receipt). The preview shows the expense and the image it carries. Re-reads the expense and your available receipts afterwards and reports whether the image went back to the receipt store. 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 |
|---|---|---|---|
| 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. |