calculate_account_metrics
Calculate vendor account metrics including balance, inventory value, sales revenue, and commission owed for consignment business analysis.
Instructions
Calculate comprehensive metrics for a specific vendor/consignor account including current balance, inventory value, items available/sold, total sales revenue, and commission owed.
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": {
"account_id": "<account_id>"
},
"name": "calculate_account_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Account ID (required) | |
| date_from | No | Filter by items/sales created on or after this date (ISO 8601: YYYY-MM-DD) | |
| date_to | No | Filter by items/sales created on or before this date (ISO 8601: YYYY-MM-DD) | |
| inventory_type | No | Filter by inventory type |