Attach Receipt
attach_receiptAttach receipt images or PDFs to existing expenses, ensuring each transaction has supporting documentation.
Instructions
Attach a receipt image or PDF (from a local file path) to an existing expense.
Uploads the file to Splitwise via multipart on update_expense. Supports common image types and PDF. The receipt then shows on the expense in the app/website. (Splitwise's API only exposes receipt UPLOAD, not OCR — pair this with create_itemized_expense, where the calling agent reads the image for line-items.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expense_id": "<expense_id>",
"image_path": "<image_path>"
},
"name": "attach_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expense_id | Yes | ||
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||