Restore Expense
restore_expenseBrings one of the signed-in person's own expenses back from Trash: the undo for deleting it. Only an expense they deleted themselves comes back.
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": {
"expenseId": "<expenseId>"
},
"name": "restore_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Not needed when signed in: these tools act for the signed-in person, and any other ID is refused. Applies only to a workspace connection with no signed-in user, naming whose expenses these are. | |
| expenseId | Yes | The expense id, as an expense read or a logged expense gave it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restored | No | ||
| expenseId | No |