prepare_expense_upload
Stage a receipt or expense document for review and chat confirmation before uploading. Attach it to an existing expense, or let it create a parsed expense draft.
Instructions
Prepare a staged file for review and chat confirmation. No upload yet. expenseId attaches to an existing expense; otherwise upload creates a parsed expense draft.
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": {
"requestKey": "<requestKey>",
"fileId": "<fileId>",
"title": "<title>"
},
"name": "prepare_expense_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| fileId | Yes | ||
| expenseId | No | ||
| requestKey | Yes |