Inventory

List items

inventory_list_items · Reads only · Markdown

Items with their stock in total and per location, the moving-average cost and the value.

Free*

*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.

An example

What do we have in stock at the test kitchen right now?

Your agent callsinventory_list_itemsFree*

The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.

With these arguments
{
  "location": "Test kitchen"
}
What comes back
{
  "items": [
    {
      "sku": "STEAMER-CS10",
      "name": "Combi steamer, 10 trays",
      "unit": "pcs",
      "barcode": null,
      "description": null,
      "quantity": "6",
      "unit_cost": "6900",
      "value": "41400.00",
      "currency": "EUR",
      "price": "9800",
      "reorder_point": "2",
      "low": false,
      "archived": false,
      "locations": {
        "Main": "2",
        "Test kitchen": "4"
      }
    },
    {
      "sku": "TABLE-SS-160",
      "name": "Work table, stainless steel, 160 cm",
      "unit": "pcs",
      "barcode": null,
      "description": null,
      "quantity": "4",
      "unit_cost": "610",
      "value": "2440.00",
      "currency": "EUR",
      "price": "1490",
      "reorder_point": "2",
      "low": false,
      "archived": false,
      "locations": {
        "Main": "1",
        "Test kitchen": "3"
      }
    }
  ],
  "total": 2
}

Use it when

Someone asks what is in stock, where, or what is running low.

What it does

Items with what is in stock (in total and per location), the moving-average unit cost and the value. Search by SKU, name or an exact barcode; only those at a location; only those at or below their reorder point.

What comes back

items: each with its SKU, name, unit, stock, moving-average unit cost, value, currency, price, reorder point, low, archived and stock per location; and the total. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
searchstringUp to 100 characters.
locationstringA location by name. Default: "Main" (made on first use). Up to 120 characters.
low_onlybooleanDefault: false.
include_archivedbooleanDefault: false.
limitinteger1 to 500. Default: 100.
offsetintegerAt least 0. Default: 0.

The call

Over MCP, call inventory_list_items on https://api.conecto.chat/mcp/inventory. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/inventory_list_items \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location":"Test kitchen"}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404No location has that name.Call inventory_locations, or add it with inventory_save_location.
archived409The item or location is archived.Use another one, or name a location that is in use.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md