Get an expense
get_expenseOne expense by id, read only.
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": {
"id": "<id>"
},
"name": "get_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the expense |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | No | ||
| state | Yes | ||
| amount | Yes | ||
| markup | No | ||
| receipt | No | ||
| billable | No | ||
| currency | Yes | ||
| spent_on | Yes | ||
| client_id | Yes | ||
| member_id | Yes | ||
| invoice_id | No | ||
| project_id | Yes | ||
| updated_at | No | ||
| category_id | No | ||
| client_name | No | ||
| inserted_at | No | ||
| member_name | No | ||
| project_name | No | ||
| billed_amount | No | ||
| category_name | No | ||
| invoice_number | No | ||
| billed_elsewhere_on | No |