Stock movements of an article
saga_stock_movementsRetrieve stock movements for one article, optionally filtered by warehouse, over a date range with running quantity to track inventory changes.
Instructions
Movements of one article (optionally one warehouse) in a period with running quantity.
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": {
"article": "<article>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "saga_stock_movements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| firm | No | Firm code (folder name such as "0001"). Optional when only one firm is configured. | |
| limit | No | Maximum rows to return. | |
| article | Yes | ||
| date_to | Yes | End date, YYYY-MM-DD (inclusive). | |
| date_from | Yes | Start date, YYYY-MM-DD (inclusive). | |
| warehouse | No |