Tool tree
gradeNot graded
page: Home
get_order_contextAnswer
Reads the current restaurant supplier-order review. Returns guide, presetId, store, serviceDate, cutoffAt, deliveryAt, forecast, draft, lines, focusedSkuId, pins, signals, previewId, and revision.
View tool JSON
{
"name": "get_order_context",
"kind": "answer",
"impl": "imperative",
"description": "Reads the current restaurant supplier-order review. Returns guide, presetId, store, serviceDate, cutoffAt, deliveryAt, forecast, draft, lines, focusedSkuId, pins, signals, previewId, and revision.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/"
}get_line_detailAnswer
Reads the calculation and current decision for one stock line in the order review. Returns item, unit, caseSize, usagePerCover, onHand, expiring, usable, inTransit, safety, safetyRationale, demand, need, calculatedCases, pinnedCases, currentReason, and expiringShare.
View tool JSON
{
"name": "get_line_detail",
"kind": "answer",
"impl": "imperative",
"description": "Reads the calculation and current decision for one stock line in the order review. Returns item, unit, caseSize, usagePerCover, onHand, expiring, usable, inTransit, safety, safetyRationale, demand, need, calculatedCases, pinnedCases, currentReason, and expiringShare.",
"inputSchema": {
"type": "object",
"description": "A stock line selected by its stable SKU identifier.",
"properties": {
"skuId": {
"type": "string",
"enum": [
"chicken",
"patties",
"buns",
"fries",
"lettuce",
"tomatoes",
"cheese",
"cola",
"oil",
"boxes"
],
"description": "Stable SKU identifier from get_order_context."
}
},
"required": [
"skuId"
],
"additionalProperties": false
},
"page": "/"
}add_local_signalAction
Stores one local booking, event cancellation, or operator note in revisioned local state without calculating or previewing the order. Handoff receipts are a separate record. Returns signalId, kind, label, revision, and previewBecameStale.
View tool JSON
{
"name": "add_local_signal",
"kind": "act",
"impl": "imperative",
"description": "Stores one local booking, event cancellation, or operator note in revisioned local state without calculating or previewing the order. Handoff receipts are a separate record. Returns signalId, kind, label, revision, and previewBecameStale.",
"inputSchema": {
"type": "object",
"description": "A local signal write tied to a specific review revision.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required review revision from get_order_context or the previous mutation result."
},
"kind": {
"type": "string",
"enum": [
"booking",
"event_cancelled",
"operator_note"
],
"description": "Signal kind. Operator notes are operational facts in the order review."
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Short human-authored label stored in the signals panel."
},
"covers": {
"type": "integer",
"minimum": 1,
"maximum": 2000,
"description": "Guest count for a booking signal."
},
"occurredAt": {
"type": "string",
"maxLength": 80,
"description": "Local date or time associated with the signal."
},
"note": {
"type": "string",
"maxLength": 500,
"description": "Human-authored detail stored with the signal."
}
},
"required": [
"expectedRevision",
"kind",
"label"
],
"additionalProperties": false
},
"page": "/"
}create_order_previewSensitive Action
Creates and renders a revisioned supplier-order preview from current signals and pins. The saved order and adoption status remain unchanged. Returns previewId, revision, covers and laborHours before and after, each line's before, after, delta, and reason, cost before and after, and warnings.
View tool JSON
{
"name": "create_order_preview",
"kind": "transact",
"impl": "imperative",
"description": "Creates and renders a revisioned supplier-order preview from current signals and pins. The saved order and adoption status remain unchanged. Returns previewId, revision, covers and laborHours before and after, each line's before, after, delta, and reason, cost before and after, and warnings.",
"inputSchema": {
"type": "object",
"description": "A supplier-order preview tied to a specific review revision.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required review revision from get_order_context or the previous mutation result."
},
"rationale": {
"type": "string",
"maxLength": 500,
"description": "Short reason stored with the preview."
}
},
"required": [
"expectedRevision"
],
"additionalProperties": false
},
"page": "/"
}save_handoff_receiptAction
Stores a manager handoff summary as a local browser receipt. Operator notes are operational facts in the order review; handoff receipts are shift records. Returns receiptId, presetId, revision, and confirmation that the result stayed in this browser.
View tool JSON
{
"name": "save_handoff_receipt",
"kind": "act",
"impl": "imperative",
"description": "Stores a manager handoff summary as a local browser receipt. Operator notes are operational facts in the order review; handoff receipts are shift records. Returns receiptId, presetId, revision, and confirmation that the result stayed in this browser.",
"inputSchema": {
"type": "object",
"description": "A local handoff receipt tied to a specific review revision.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required review revision from get_order_context or the previous mutation result."
},
"managerSummary": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Human-authored handoff summary stored in the local receipt."
}
},
"required": [
"expectedRevision",
"managerSummary"
],
"additionalProperties": false
},
"page": "/"
}open_sectionAction
Moves the manager to a different order, stock, labor, or shift-log section while preserving store and revision. It is redundant if the destination section's tools are already available. Returns section, toolNames registered on the destination, and revision.
View tool JSON
{
"name": "open_section",
"kind": "act",
"impl": "imperative",
"description": "Moves the manager to a different order, stock, labor, or shift-log section while preserving store and revision. It is redundant if the destination section's tools are already available. Returns section, toolNames registered on the destination, and revision.",
"inputSchema": {
"type": "object",
"description": "A destination in the shared shift operations desk.",
"properties": {
"section": {
"type": "string",
"enum": [
"order",
"stock",
"labor",
"log"
],
"description": "Destination section in the shift operations desk."
}
},
"required": [
"section"
],
"additionalProperties": false
},
"page": "/"
}page: Stock
get_stock_statusAnswer
Reads current counts and the weekly waste ledger for the Stock section. Returns presetId; items with onHand, expiring, lastCountedAt, wasteWeekQty, and wasteWeekCost; totals with wasteWeekCost, byReason, and topReason; orderPreviewStale; and revision.
View tool JSON
{
"name": "get_stock_status",
"kind": "answer",
"impl": "imperative",
"description": "Reads current counts and the weekly waste ledger for the Stock section. Returns presetId; items with onHand, expiring, lastCountedAt, wasteWeekQty, and wasteWeekCost; totals with wasteWeekCost, byReason, and topReason; orderPreviewStale; and revision.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/stock"
}record_stock_countAction
Records on-hand and expiring stock for one item in revisioned local state and invalidates an older order preview. Returns skuId, previous and current counts, revision, and orderPreviewInvalidated.
View tool JSON
{
"name": "record_stock_count",
"kind": "act",
"impl": "imperative",
"description": "Records on-hand and expiring stock for one item in revisioned local state and invalidates an older order preview. Returns skuId, previous and current counts, revision, and orderPreviewInvalidated.",
"inputSchema": {
"type": "object",
"description": "A shelf count tied to a specific shared revision.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required shared revision from get_stock_status or the previous mutation result."
},
"skuId": {
"type": "string",
"enum": [
"chicken",
"patties",
"buns",
"fries",
"lettuce",
"tomatoes",
"cheese",
"cola",
"oil",
"boxes"
],
"description": "Stable SKU identifier from get_stock_status."
},
"onHand": {
"type": "number",
"minimum": 0,
"maximum": 100000,
"description": "Physical on-hand quantity in the item's unit."
},
"expiring": {
"type": "number",
"minimum": 0,
"maximum": 100000,
"description": "Quantity within onHand that expires before service."
}
},
"required": [
"expectedRevision",
"skuId",
"onHand"
],
"additionalProperties": false
},
"page": "/stock"
}log_wasteAction
Adds one local waste entry, reduces the item's on-hand stock, and invalidates an older order preview. Returns entryId, cost, newOnHand, newExpiring, weekTotal, revision, and orderPreviewInvalidated.
View tool JSON
{
"name": "log_waste",
"kind": "act",
"impl": "imperative",
"description": "Adds one local waste entry, reduces the item's on-hand stock, and invalidates an older order preview. Returns entryId, cost, newOnHand, newExpiring, weekTotal, revision, and orderPreviewInvalidated.",
"inputSchema": {
"type": "object",
"description": "A waste record tied to a specific shared revision.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required shared revision from get_stock_status or the previous mutation result."
},
"skuId": {
"type": "string",
"enum": [
"chicken",
"patties",
"buns",
"fries",
"lettuce",
"tomatoes",
"cheese",
"cola",
"oil",
"boxes"
],
"description": "Stable SKU identifier from get_stock_status."
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100000,
"description": "Wasted quantity in the item's unit."
},
"reason": {
"type": "string",
"enum": [
"expired",
"prep",
"dropped",
"overproduction"
],
"description": "Operational reason for the waste entry."
},
"note": {
"type": "string",
"maxLength": 500,
"description": "Human-authored detail stored with the waste entry."
}
},
"required": [
"expectedRevision",
"skuId",
"quantity",
"reason"
],
"additionalProperties": false
},
"page": "/stock"
}page: Labor
get_labor_planAnswer
Reads service-day staffing against the covers in the working order. Returns presetId, forecastCovers, requiredTotal, dayparts with required, scheduled, gap, and shifts, onCall, signals, laborPreviewId, and revision.
View tool JSON
{
"name": "get_labor_plan",
"kind": "answer",
"impl": "imperative",
"description": "Reads service-day staffing against the covers in the working order. Returns presetId, forecastCovers, requiredTotal, dayparts with required, scheduled, gap, and shifts, onCall, signals, laborPreviewId, and revision.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/labor"
}add_labor_signalAction
Records one absence or extra shift in revisioned local roster state and clears a current labor preview. The working order stays unchanged. Returns signalId, kind, staffId, revision, and laborPreviewInvalidated.
View tool JSON
{
"name": "add_labor_signal",
"kind": "act",
"impl": "imperative",
"description": "Records one absence or extra shift in revisioned local roster state and clears a current labor preview. The working order stays unchanged. Returns signalId, kind, staffId, revision, and laborPreviewInvalidated.",
"inputSchema": {
"type": "object",
"description": "A roster signal tied to a specific shared revision.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required shared revision from get_labor_plan or the previous mutation result."
},
"kind": {
"type": "string",
"enum": [
"absence",
"extra_shift"
],
"description": "Roster change represented by an absence or an added shift."
},
"staffId": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Stable roster or on-call staff identifier from get_labor_plan."
},
"daypart": {
"type": "string",
"enum": [
"lunch",
"dinner",
"prep"
],
"description": "Daypart for kind extra_shift. Omit for kind absence."
},
"hours": {
"type": "integer",
"minimum": 1,
"maximum": 12,
"description": "Whole scheduled hours for kind extra_shift. Omit for kind absence."
},
"note": {
"type": "string",
"maxLength": 500,
"description": "Human-authored detail stored with the roster signal."
}
},
"required": [
"expectedRevision",
"kind",
"staffId"
],
"additionalProperties": false
},
"page": "/labor"
}create_labor_previewAction
Creates and renders a revisioned staffing preview from the working order and roster signals. The adopted roster stays unchanged. Returns previewId, revision, dayparts with gaps, reasons, and actions, plus scheduled and required totals.
View tool JSON
{
"name": "create_labor_preview",
"kind": "act",
"impl": "imperative",
"description": "Creates and renders a revisioned staffing preview from the working order and roster signals. The adopted roster stays unchanged. Returns previewId, revision, dayparts with gaps, reasons, and actions, plus scheduled and required totals.",
"inputSchema": {
"type": "object",
"description": "A staffing preview tied to a specific shared revision.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required shared revision from get_labor_plan or the previous mutation result."
},
"note": {
"type": "string",
"maxLength": 500,
"description": "Short human-authored reason stored with the preview activity."
}
},
"required": [
"expectedRevision"
],
"additionalProperties": false
},
"page": "/labor"
}page: Log
get_shift_logAnswer
Reads the newest recorded actions for the active service day, optionally filtered by section. Returns presetId, serviceDate, entries with id, time, section, actor, tool, and summary, plus total and revision.
View tool JSON
{
"name": "get_shift_log",
"kind": "answer",
"impl": "imperative",
"description": "Reads the newest recorded actions for the active service day, optionally filtered by section. Returns presetId, serviceDate, entries with id, time, section, actor, tool, and summary, plus total and revision.",
"inputSchema": {
"type": "object",
"description": "Optional section filter and result limit for the current shift record.",
"properties": {
"section": {
"type": "string",
"enum": [
"order",
"stock",
"labor",
"log"
],
"description": "Optional section filter for recorded actions."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 50,
"description": "Maximum number of newest entries returned, from 1 to 200."
}
},
"additionalProperties": false
},
"page": "/log"
}add_shift_noteAction
Adds a local note to the active service-day record without changing either preview. Returns noteId and revision.
View tool JSON
{
"name": "add_shift_note",
"kind": "act",
"impl": "imperative",
"description": "Adds a local note to the active service-day record without changing either preview. Returns noteId and revision.",
"inputSchema": {
"type": "object",
"description": "A human-authored note tied to a shared revision and optional section.",
"properties": {
"expectedRevision": {
"type": "integer",
"minimum": 0,
"description": "Required shared revision from get_shift_log or the previous mutation result."
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Shift note text stored in this browser."
},
"section": {
"type": "string",
"enum": [
"order",
"stock",
"labor",
"log"
],
"default": "log",
"description": "Section associated with the note."
}
},
"required": [
"expectedRevision",
"text"
],
"additionalProperties": false
},
"page": "/log"
}