iter_inventory
Eliminate pagination math by retrieving all inventory vehicles for a dealer account as a flat JSON array.
Instructions
Yield all inventory vehicles for a dealer account as a flat JSON array.
Use when: "every vehicle on the lot" without pagination math. Example: account_id=1042 → [{"vehicleId": 9001, "vin": "...", ...}, ...].
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": "iter_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |