add_inbound_order_item
ChatGPTAdds a product/SKU line item with expected/declared quantity to an existing pending warehouse inbound reception order (/v1/inbounds/{business_id}/order/{order_id}/item). Validates that the inbound order is in pending status, that the catalog item exists for the business as a simple active item (not bundle/combo), and that it has not already been added to this order. Requires business_id (consult context://user/accessible_businesses) and order_id in path, plus item_id and qty_declared in request body.
confirm_action
ChatGPTExecutes a pending mutating/critical API call using the single-use confirmation_token after the user has explicitly approved the impact summary in chat.
create_document
ChatGPTUploads a new document file and registers its metadata, classification, and polymorphic entity references.
create_inbound_order
ChatGPTCreates a new warehouse inbound reception order / ASN header for receiving merchandise at a specific destination warehouse (/v1/inbounds/{business_id}/order). Sets up initial pending status, logistics process mode (standard, cross-docking_meli), expected delivery/shipping date, and external supplier delivery references (remito / invoice tracking number). Requires business_id in path (consult context://user/accessible_businesses) and required payload fields: warehouse_id (destination warehouse), title, shipping_date (YYYY-MM-DD), process_mode, control_primary_mode, external_id, external_type, inbound_shipping_mode_id, and volume_type.
create_supplier
ChatGPTCreates and registers a new commercial supplier record for a business, setting trading name, corporate name, operational status, and ERP integration code.
delete_document
ChatGPTPermanently deletes a document record, cleans up its physical storage files in Cloudflare R2, and clears relational indexes.
delete_gallery_image
ChatGPTPermanently removes a photo from the gallery and deletes its physical object from Cloudflare R2 storage.
download_document_file
ChatGPTDownloads the physical document binary file directly from R2 object storage.
get_current_user
ChatGPTRetrieves profile, roles, metadata, and assigned businesses for the authenticated user from /core/v2/user/me to provide context for downstream tools.
get_document_by_id
ChatGPTRetrieves document metadata, storage paths, linked polymorphic references, and public URL by document ID.
get_expiration_sales_report
ChatGPTRetrieves correlation between item expiration dates and recent sales velocity to identify stock at risk of expiring before being sold.
get_inbound_order
ChatGPTRetrieves complete details of a warehouse inbound reception order by its ID (/v1/inbounds/{business_id}/order/{order_id}). Returns the inbound header record (warehouse_id, status, process_mode, external delivery reference/remito), list of expected/declared items, calculated totals declared, and item verification breakdown. Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and order_id.
get_item_codes
ChatGPTRetrieves all identification codes, barcodes, SKUs, and supplier references associated with a catalog item (/v1/items/{business_id}/{item_id}/codes/list). Returns a list of codes (EAN, UPC, internal SKU, supplier code, Dun-14, etc.) including code multipliers (packaging quantities), unit type, scannability flag, and audit metadata (created_by, modified_by). Supports filtering by code type (codeType) and pagination (limitFrom, limitTo). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and item_id.
get_item_details
ChatGPTRetrieves full details for a catalog item/product by its ID (/v1/items/{business_id}/{item_id}/details). Returns complete product data including title, description, SKU/barcodes, pricing, physical and available stock broken down by warehouse, multi-channel marketplace publications (Mercado Libre, Shopify, etc.), child bundle compositions if it is a combo/pack, dimensions, and weight. Also supports batch lookups via the optional item_ids query parameter (comma-separated list of IDs). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and item_id.
get_item_stock_ledger
ChatGPTRetrieves the chronological stock ledger (kardex) and inventory audit trail for a specific item/SKU (/v1/items/stock/ledger/{business_id}/{item_id}). Returns enriched inventory movements for a time period (origin, batch, user), opening and closing balances per warehouse, and a running-balance integrity check (previous balance + qty = current balance). Supports filtering by stock type (stock_type_id: 30 for physical on-hand stock, 20 for reserved stock), warehouse (warehouse_id: specific warehouse ID, or 0 for all warehouses), date range (date_from, date_to in YYYY-MM-DD format), and record limit (limit: default 2000, max 5000). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and item_id.
get_my_context
ChatGPTReturns the authenticated user profile, tenant, active session business (if set in session memory or auto-selected for single-business users), and the complete list of accessible businesses. Optionally pass set_active_business_id (or 0 for all businesses) to switch the active business for subsequent turns.
get_order_by_id
ChatGPTRetrieves complete details of a specific purchase or sales order by its numeric ID for a business (/v1/orders/{business_id}/{order_id}). Returns comprehensive order information including customer/buyer profile, item breakdown, monetary totals, payment method and status, fulfillment/deposit preparation status, shipping method, delivery address, carrier tracking number, and external marketplace identifiers (e.g. Mercado Libre order ID, pack ID, shipment ID). Requires both business_id (consult context://user/accessible_businesses if not set or ambiguous) and order_id.
get_order_items
ChatGPTRetrieves the full list of purchased product lines and items contained within a specific sales/purchase order (/v1/orders/{business_id}/{order_id}/items/list). Returns an array of order items (data) including item ID, product title, unit price, quantity purchased, discount, tax breakdown, and marketplace listing identifiers. Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and order_id.
get_order_items_decomposed
ChatGPTRetrieves the fully decomposed / exploded picking list of physical items for an order (/v1/orders/{business_id}/{order_id}/items/decomposed/list). If any purchased item is a kit, bundle, or combo pack, this endpoint recursively decomposes it into its constituent individual physical components, units, and quantities needed for warehouse picking, packing, and inventory deduction. Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and order_id.
get_order_packing_slip
ChatGPTRetrieves the warehouse packing slip and packaging fulfillment audit records for an order (/v1/orders/{business_id}/{order_id}/packing-slip). Returns an array of packed items (data) with physical warehouse verification data, including warehouse_id, warehouse_name, order_external_id, channel_id, shipping_method, item_id, item_external_id, item_title, item_qty, item_thumb, item_packing_type, scan_mode (scanned/manual), fulfillment timestamp (fulfilled_at), and packer user identity (packed_by_id, packed_by_name). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and order_id.
get_order_payment_balance
ChatGPTComputes the structured financial balance, settlement totals, multi-gateway breakdown, and accounting reconciliation coverage for a specific order.
get_outbound_order
ChatGPTRetrieves detailed information and package state for a warehouse outbound/dispatch order by its ID (/v1/outbounds/order/{order_id}). Returns the complete outbound order record (warehouse_id, business_id, status, fulfillment_mode, timestamps, creation/modification users) along with packaging progress (last_position). Validates that the authenticated user has access permissions to the originating warehouse.
get_packaging_usage_report
ChatGPTRetrieves packaging material consumption and usage report across fulfillment operations.
get_payment_analytics
ChatGPTPerforms multi-dimensional payment, fee, tax withholding, cashflow liquidity, and ERP reconciliation analytics for a business over a configurable date range.
get_stock_aging_report
ChatGPTRetrieves stock aging analysis grouped by batch and ingress dates or summary intervals for inventory management.
get_stock_breakdown_report
ChatGPTRetrieves stock breakdown by item type, reserved quantities, scheduled units, and physical warehouse inventory.
get_stock_expiration_report
ChatGPTRetrieves items expiration report filtered by warehouse and expiration date status.
get_stock_inconsistency_report
ChatGPTRetrieves inventory items with inconsistencies across warehouse balances, locations, and physical stock.
get_warehouse_occupation_list_report
ChatGPTRetrieves historical warehouse occupancy broken down by item, volume, weight, or units.
get_warehouse_occupation_total_report
ChatGPTRetrieves aggregated warehouse total occupancy metrics, volume, weight, and stock capacity utilization.
import_isapi_video_document
ChatGPTConnects to a Hikvision ISAPI NVR using warehouse configuration, downloads recorded MP4 footage for a specific time window, stores it in R2, and links it to entity references.
list_gallery_images
ChatGPTSearches and lists gallery photos and images associated with an entity reference (e.g. item, order) and business.
list_inbound_order_items
ChatGPTLists all expected and received line items for a specific warehouse inbound reception order (/v1/inbounds/{business_id}/order/{order_id}/list). Returns items with declared quantities, physical quantities received, remaining quantities to receive, item external SKU/code, thumbnail URL, attribute metadata, and individual reception log details (inbound_items_details). Supports filtering by operational stage (filter_id: putaway_pending to filter for items with received quantity ready for storage) and pagination (limitFrom, limitTo). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and order_id.
list_inbound_orders
ChatGPTLists, filters, and monitors warehouse inbound reception orders and supplier deliveries for a specific business (/v1/inbounds/{business_id}/orders/list). Returns paginated inbound orders including receiving warehouse details, process mode, reception status, and reception quantity metrics (total_item_qty declared, total_qty_received, total_qty_available, total_qty_rejected_damaged, total_qty_rejected_expired). Supports filtering by operational reception stage (filter_id: open, receive_pending, putaway_pending, crossaway_pending, closed), integration ID, and pagination (limitFrom, limitTo). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous; pass 0 to query across all assigned businesses).
list_items
ChatGPTLists, filters, and searches catalog articles, items, and products for a specific business (/v1/items/{business_id}/list). Allows searching by free text (searchText: matches item ID, title/description, model, brand/maker name, or barcodes/SKUs in item_codes). Supports filtering by publication status (status_id: active, paused, deleted, under_review, all), item type (item_type_id: units, bundle, all), brand (brand_id), supplier (supplier_id), variation group (family_id / variation_filter: with_variations, without_variations), tag, and pagination (limitFrom, limitTo). Returns paginated catalog items with prices, stock totals, dimensions, weight, manufacturer, categories, and barcode identifiers. Requires business_id (consult context://user/accessible_businesses if not set or ambiguous; pass 0 to query across all assigned businesses).
list_order_invoices
ChatGPTRetrieves the list of fiscal invoices, electronic receipts, credit notes, and tax documents issued for a specific customer sales order (/v1/orders/{business_id}/order/{order_id}/invoices/list). Returns an array of invoices (data) including fiscal invoice numbers, voucher types (Factura A/B/C, Remito, Nota de Crédito), emission timestamps, authorization codes (CAE/CAEA), net amounts, and tax breakdowns. Supports pagination (limitFrom, limitTo). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous) and order_id.
list_order_payment_transactions
ChatGPTRetrieves all payment, fee, tax withholding, shipping charge, promotion/coupon, and refund ledger transactions for an order with gateway and category filters.
list_orders
ChatGPTLists, filters, and searches omnichannel customer purchase and sales orders for a specific business (/v1/orders/{business_id}/list). Allows searching by free text (searchText: buyer name, email, phone number, internal order ID, marketplace ID such as Mercado Libre order or pack ID, or shipping tracking code). Supports filtering by sales channel (channel_id: e.g. MERCADOLIBRE, SHOPIFY, TIENDANUBE, VTEX), integration account (integration_id), shipping method (shipping_id), warehouse fulfillment/deposit status (depstatus_id: e.g. PENDIENTE, PREPARADO, DESPACHADO), or predefined topic filter (filter_id), with pagination support (limitFrom, limitTo). Returns paginated order records (data) including buyer details, total amounts, payment status, warehouse fulfillment status, shipping address, tracking numbers, and marketplace identifiers, alongside total record counts (recordsTotal, recordsFiltered). Requires business_id (if the user has multiple assigned businesses, consult context://user/accessible_businesses; 0 can be passed to query across all assigned businesses).
list_outbound_orders
ChatGPTLists, filters, and tracks warehouse outbound orders and dispatch processes for a specific business (/v1/outbounds/{business_id}/orders/list). Returns paginated dispatch orders including warehouse details, fulfillment mode, status, creation/modification audit info, and item quantity metrics (total_item_requested, total_item_fulfilled, total_item_remaining). Supports filtering by workflow stage (filter_id: draft, picking_pending, prepare_pending, deliver_pending, closed), exact status (filter_status: pending, picking, picked, preparing, ready, closed), fulfillment mode / process (filter_process: e.g. meli_full, standard), integration ID, and pagination (limitFrom, limitTo). Requires business_id (consult context://user/accessible_businesses if not set or ambiguous; pass 0 to query across all assigned businesses).
list_suppliers
ChatGPTRetrieves a paginated list of suppliers associated with the tenant, with support for filtering by business IDs, statuses, ERP integration code, or fuzzy search.
reorder_gallery_images
ChatGPTUpdates the display sequence and sorting positions of multiple gallery images in a single batch operation.
search_documents
ChatGPTSearches documents by name, MIME type, custom metadata, or linked polymorphic references with pagination support.
update_document
ChatGPTUpdates document metadata, classifications, polymorphic entity references, or replaces the uploaded binary file.
update_gallery_image_metadata
ChatGPTUpdates in place the metadata of an existing gallery image, including comment, hidden status, or display position.
update_supplier
ChatGPTPerforms a partial update of an existing commercial supplier record by database ID, updating trading name, corporate name, ERP integration code, or status details.
upload_gallery_image
ChatGPTUploads a new gallery photo to Cloudflare R2 via remote HTTP/HTTPS URL or direct file upload, associating it with an entity reference.