Get Commerce Spend
get_commerce_spendRetrieve spend analytics for a commerce delegation to monitor agent spending against the delegation’s allowed spend limit.
Instructions
Get spend analytics for a commerce delegation.
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>",
"delegation_id": "<delegation_id>",
"spend_limit": "<spend_limit>"
},
"name": "get_commerce_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID | |
| spend_limit | Yes | Total allowed spend | |
| delegation_id | Yes | Commerce delegation ID |