Export to CSV
A CSV of the items (per location, with quantities and value) or of the moves in a period, with a download link.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Export the stock list for the insurance renewal.
Your agent callsinventory_export$0.001 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"what": "items"
}Use it when
The stock list is needed in a spreadsheet: for insurance, an accountant or a supplier.
What it does
A CSV in the file store, with a download link: items (one row per item and location, with quantities, unit cost and value) or moves (from-to).
What comes back
The CSV file with its file_id and download link, and how many rows. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
whatRequired | string | One of: items,moves. |
from | string | YYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$. |
to | string | YYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$. |
The call
Over MCP, call inventory_export on https://api.conecto.chat/mcp/inventory. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/inventory_export \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"what":"items"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | A date is not a date like 2026-10-01. | Fix the date. |
storage_full409 | The file store has no room for the CSV. | Delete files with files_delete, or add room with files_add_storage. |
More Inventory tools
All 10 tools- Add or change items
inventory_save_itemsAdds stock items or changes them by SKU: name, unit, barcode, cost, price and reorder point.$0.005 per item saved - List items
inventory_list_itemsItems with their stock in total and per location, the moving-average cost and the value.Free* - Move stock
inventory_moveChanges stock, all moves or none: receive, ship, transfer between locations, or adjust.$0.005 per move - Count a location
inventory_stocktakeRecords a count of one location; each difference from the books becomes a count move.$0.002 per line counted - Stock history
inventory_historyStock moves, newest first, of one item, at one location, of one kind, or in a period.Free* - List locations
inventory_locationsEvery location with how many items it holds and their value.Free* - Add or change a location
inventory_save_locationAdds a location (a warehouse, a shop, a van), or renames, describes or archives one.$0.001 a call - Run an inventory report
inventory_reportValuation (what was held on a day and its value), movement (per item in a period, with the cost of goods shipped) or low stock.Free*
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md