Log a dashboard expense
log_expenseAdd one expense to the signed-in baker's Financials tab. Cottage Pro from the first entry (same rule as the dashboard). Amounts are the baker's own numbers. Requires OAuth sign-in (crosodo:write).
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": {
"amountUsd": "<amountUsd>",
"spentOn": "<spentOn>"
},
"name": "log_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional short note | |
| vendor | No | Optional vendor name | |
| spentOn | Yes | Expense date, YYYY-MM-DD | |
| category | No | ingredients | packaging | fees_permits | equipment | market_fees | transport | utilities | marketing | other | |
| amountUsd | Yes | Expense amount in USD, e.g. 18.25 |