create_expense
Create an expense entry by specifying activity name and per-unit cost, with optional units, case, staff, description, billable status, and entry date.
Instructions
Create an expense entry. cost is per-unit cost. entry_date: YYYY-MM-DD.
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": {
"activity_name": "<activity_name>",
"cost": "<cost>"
},
"name": "create_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| units | No | ||
| case_id | No | ||
| billable | No | ||
| staff_id | No | ||
| entry_date | No | ||
| description | No | ||
| activity_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |