ms_get_products
List products, services, and bundles with prices and stock, filter assortment by criteria like archived status, and paginate results for inventory or catalog queries.
Instructions
List products/services/bundles (assortment) with prices and stock.
Args: limit: page size, max 1000. offset: pagination offset. filter: optional MoySklad filter expression (e.g. "archived=false"). rubles: convert kopeck money fields to rubles (default true). Returns JSON: {"ok": true, "data": {"meta", "rows": [ products ]}}. Sale prices and buy price are kopecks in the raw API; rubles=true converts them.
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": "ms_get_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filter | No | ||
| offset | No | ||
| rubles | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |