Get supplier constraints
get_supplier_constraintsRead a named supplier's lines in the open task (or every line) with the supply constraints and stock each carries: lead time, carton quantity, on order and stock on hand where the task holds them, plus cost and margin. A missing field means the task does not carry it, not that the supplier has none. Use it for lead-time, pack-size and inventory-capital questions about those lines. To resolve a supplier name use find_supplier; for changes in their offers use compare_supplier_offer_history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_name | No | Entity name exactly as the user wrote it. | |
| supplier_name | No | A supplier, matched as find_supplier matches one (exact, whole word or acronym), never as a fragment of product text. The result says how many lines the supplier has beyond the visible ones. | |
| include_stock_value | No | Marks an inventory-capital question. The rows carry whatever stock measures the task holds either way. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | One row per product line: sku, product, category, supplier, then the line's own measures. | |
| scope | Yes | What population the rows were read from. | |
| truncated | Yes | True when more rows matched than were returned. | |
| population | No | Present on an unfiltered read: a reminder the rows are a slice, not the whole business. | |
| evidence_id | Yes | Handle for these rows within this call's results. Not a citation. | |
| completeness | No | Present when nothing matched: what the empty result does and does not mean. | |
| returned_rows | Yes | Rows in this response. | |
| inputs_not_applied | No | Inputs the snapshot could not apply. | |
| source_evidence_ids | Yes | Workspace evidence IDs backing these rows. Empty when the source carries no evidence records. | |
| total_matching_rows | Yes | Rows that matched before any limit. | |
| excluded_rows_without_metric | No | Rows left out of a ranking because they carry no figure for the metric. |