get_stock_ledger
Retrieve stock ledger entries showing inventory transaction history for an exact item code and warehouse. Filter by item and location.
Instructions
Get stock ledger entries (inventory transaction history; exact match on item_code).
⚠️ 對 item_code 做精確比對;查不到時改用 find_items(keyword=...) 找正確代碼。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_stock_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max records to return (default 50) | |
| item_code | No | Optional exact item code filter | |
| warehouse | No | Optional warehouse filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |