List products
list_productsThe organization's product catalogue (its own item master, as loaded from its ERP), each product with what every supplier calls it: the supplier's reference and description, and the conversion factor to the organization's unit. Use it for "what is our SKU for supplier reference OR-2-369", "which products does Supplier X ship us" or "is product ABC-1 discontinued". To narrow to one supplier, find its id with list_companies and pass it as supplier_id. query matches SKU, description and any supplier's reference; sku finds the one product with exactly that SKU. Each supplier reference has an id (prf_...) for remove_product_supplier_reference. Returns products, newest first, with has_more and the id (prd_...) of the last one to pass as starting_after.
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": "list_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | An exact SKU, such as "ABC-1" (case aside), to look one product up. | |
| limit | No | How many results to return, 1 to 100. | |
| query | No | Matches a SKU, a description or any supplier's reference, such as "OR-2-369". | |
| status | No | Only active or only discontinued products. Omit for both. | |
| supplier_id | No | Only products this supplier has a reference or description for. A company id such as "cmp_123", from list_companies. | |
| starting_after | No | Paging cursor: the id of the last result of the previous page. Only when has_more was true. |