Fairshop Inventory Listings

v0.1.0
io.github.fpavia111-creator/fairshop-inventory-listings Checked 2 days ago Published 5 days ago

Compares stock by location (warehouse, 3PL, FBA) with the quantities listed on each channel

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fairshop_info

Show this pack: pinned model, mode, caps, Auto opt-ins, and the allow/ask/block decision for every tool.

fairshop_inspect_input

Show how a CSV, TSV, Excel, JSON or JSONL file under the root would be read: its format, which export it looks like, which of its columns map to this pack's columns, and what each column holds. Returns column names and shapes only, never cell values. Use it before a tool when a file comes straight from another system.

ParameterTypeDescription
path *stringA CSV, TSV, Excel .xlsx, JSON or JSONL file under the root
asstringSource kind to read it as (default: every kind this agent declares, best match first)
sheetstring | integerExcel sheet name or 0-based index (default: first visible sheet)

inventory_audit Compare stock with channel listings

[ALLOW] For every listing, work out what its locations can ship (less committed units and any buffer) and compare it with the listed quantity; list stock with no listing.

ParameterTypeDescription
listings *stringChannel listings under --root (Amazon All Listings, eBay listings or your own CSV): channel, SKU, listing id, listed quantity, status, fulfilment
stock *stringStock by location under --root (Shopify inventory, WMS, 3PL or FBA export): SKU, location, on hand, committed
settingsstringOptional settings JSON: which locations feed fba and merchant listings, units held back per channel

inventory_explain Explain one SKU

[ALLOW] Show every listing and the stock of one SKU.

ParameterTypeDescription
listings *stringChannel listings under --root (Amazon All Listings, eBay listings or your own CSV): channel, SKU, listing id, listed quantity, status, fulfilment
sku *stringSKU or listing id from inventory_audit
stock *stringStock by location under --root (Shopify inventory, WMS, 3PL or FBA export): SKU, location, on hand, committed
settingsstringOptional settings JSON: which locations feed fba and merchant listings, units held back per channel

inventory_write_report Write the inventory-listings worklist

[ALLOW] Write inventory-listings.csv and .html (by channel, every listing to correct or review, stock listed nowhere) into out_dir (default fairshop-out/inventory).

ParameterTypeDescription
listings *stringChannel listings under --root (Amazon All Listings, eBay listings or your own CSV): channel, SKU, listing id, listed quantity, status, fulfilment
stock *stringStock by location under --root (Shopify inventory, WMS, 3PL or FBA export): SKU, location, on hand, committed
out_dirstringFolder under --root for the report files (default fairshop-out/inventory)
settingsstringOptional settings JSON: which locations feed fba and merchant listings, units held back per channel

inventory_draft_quantity_corrections Draft a quantity corrections

[ASK] Write drafts/quantity_corrections-listings.md: every listing to correct with the quantity its locations can ship. Marked DRAFT. Approving goes through inventory_request_approve (one click); a person changes the listings.

ParameterTypeDescription
listings *stringChannel listings under --root (Amazon All Listings, eBay listings or your own CSV): channel, SKU, listing id, listed quantity, status, fulfilment
stock *stringStock by location under --root (Shopify inventory, WMS, 3PL or FBA export): SKU, location, on hand, committed
out_dirstringFolder under --root for the files this writes (default fairshop-out/inventory).
settingsstringOptional settings JSON: which locations feed fba and merchant listings, units held back per channel

inventory_request_approve Approve the quantity corrections (one click)

[ASK · go_live] After one named human click (even in Auto), record that the reviewed quantity corrections draft is approved in quantity_corrections-requests.csv. Tied to draft_sha256; refuses while open markers remain unless accept_open_issues is true with a note. A person on your team acts on it; the agent never does.

ParameterTypeDescription
draft *stringDraft path returned by the draft tool
draft_sha256 *stringsha256 returned by the draft tool
accept_open_issuesbooleanSet true, together with a note, to go ahead while open markers or issues remain. Default false (refused while any remain).
notestringWhy it is fine to go ahead with open issues; required when accept_open_issues is true. Kept in the audit log.
out_dirstringFolder under --root for the files this writes (default fairshop-out/inventory).
tostringWho it goes to; must match the draft when the draft names someone

listing_quantity_push Listing quantity push

[BLOCK · go_live] Listed so agents can see it is refused. Fairshop Inventory Listings never changes a quantity on a channel.

inventory_transfer_create Inventory transfer create

[BLOCK · go_live] Listed so agents can see it is refused. Fairshop Inventory Listings never creates transfers or shipments between locations.