report_spend
Record a completed spend with optional outcome tracking. Call this AFTER paying for a service to track spending and build ROI history.
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": {
"agent_id": "<agent_id>",
"service_id": "<service_id>",
"amount_usd": "<amount_usd>",
"category": "<category>"
},
"name": "report_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Your agent's name. It belongs to the wallet you pay from: only calls paid from that wallet can read or change it | |
| category | Yes | Spending category | |
| amount_usd | Yes | Amount spent in USD | |
| service_id | Yes | Service that was used | |
| value_received | No | Description of value received | |
| outcome_success | No | Whether the service call succeeded |