Tool tree
Turn school lunch audits into practical experiments. Measure food waste, try a change, and see what happens.
Implementation
gradeNot graded
gradeNot graded
get_lunchloop_stateAnswer
Read the currently visible sample or real project, audits, experiment and calculated summary. Does not switch projects.
View tool JSON
{
"name": "get_lunchloop_state",
"kind": "answer",
"impl": "imperative",
"description": "Read the currently visible sample or real project, audits, experiment and calculated summary. Does not switch projects.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}add_lunch_auditsAction
Validate and add one or more measured lunch audits to the visible project. confirmedMode must match the visible workspace. Updates the same records as the audit form.
View tool JSON
{
"name": "add_lunch_audits",
"kind": "act",
"impl": "imperative",
"description": "Validate and add one or more measured lunch audits to the visible project. confirmedMode must match the visible workspace. Updates the same records as the audit form.",
"inputSchema": {
"type": "object",
"properties": {
"confirmedMode": {
"type": "string",
"enum": [
"demo",
"real"
]
},
"audits": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"meal": {
"type": "string",
"maxLength": 100
},
"meals": {
"type": "integer",
"minimum": 0
},
"unserved": {
"type": "number",
"minimum": 0
},
"plate": {
"type": "number",
"minimum": 0
},
"stockout": {
"type": "boolean"
},
"notes": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"date",
"meal",
"meals",
"unserved",
"plate",
"stockout",
"notes"
],
"additionalProperties": false
}
}
},
"required": [
"confirmedMode",
"audits"
],
"additionalProperties": false
}
}