Stock in your own system
inventory_levelsWhat your organization has on hand, by location, in its own connected system (ERP). Pass skus or query. Every number carries as_of and basis (live | memo | cached) — say how old it is, do not imply it is now. Needs inventory permission. This is your OWN stock; a supplier's stock is supply_availability.
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>"
},
"name": "inventory_levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skus | No | Item codes in your own system, e.g. ["CART-6040"]. Pass skus or query | |
| fresh | No | Ask the system now instead of reading the last value (slower, rate limited) | |
| query | No | Free-text item search in your own system, e.g. "carton" | |
| agent_id | Yes | Agent id; its organization owns the connected system | |
| connection_id | No | Which connected system, when the org has several | |
| session_token | No | Session token from agent_authenticate — required whenever agent_id is passed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| as_of | No | ||
| basis | No | ||
| error | No | ||
| detail | No | ||
| system | No | ||
| freshness | No | ||
| connections | No | ||
| availability | No | ||
| connection_id | No | ||
| could_not_reach | No |