erpnext_stock_balance
Retrieve current stock quantities for a specific item and warehouse using ERPNext bin data, with optional company and child warehouse filtering.
Instructions
Return stock quantities for an item and warehouse using ERPNext bin details.
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": {
"item_code": "<item_code>",
"warehouse": "<warehouse>"
},
"name": "erpnext_stock_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | ||
| item_code | Yes | ||
| warehouse | Yes | ||
| include_child_warehouses | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||