Implementation
gradeNot graded
gradeNot graded
find_rescue_packsAnswer
Find available RESCASAP surplus-food packs in Montevideo. Filters by text, category, price or estimated food weight and visibly shortlists the best matches on the page.
View tool JSON
{
"name": "find_rescue_packs",
"kind": "answer",
"impl": "imperative",
"description": "Find available RESCASAP surplus-food packs in Montevideo. Filters by text, category, price or estimated food weight and visibly shortlists the best matches on the page.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"query": {
"type": "string",
"maxLength": 80,
"description": "Food, business or neighborhood to search for."
},
"category": {
"type": "string",
"maxLength": 40,
"description": "Exact category, such as Panadería, Frutería or Cafetería."
},
"max_price_uyu": {
"type": "number",
"minimum": 1,
"maximum": 10000,
"description": "Maximum price in Uruguayan pesos."
},
"min_estimated_kg": {
"type": "number",
"minimum": 0.1,
"maximum": 50,
"description": "Minimum estimated food weight per pack in kilograms."
},
"sort_by": {
"type": "string",
"enum": [
"ending_soon",
"lowest_price",
"most_food",
"biggest_saving"
],
"description": "How to rank matching packs."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Number of packs to return, up to five."
}
}
},
"page": "/demo"
}compare_rescue_packsAction
Compare two or three available RESCASAP packs by price, savings, estimated food weight, pickup time and neighborhood. Opens a visible comparison for the person.
View tool JSON
{
"name": "compare_rescue_packs",
"kind": "act",
"impl": "imperative",
"description": "Compare two or three available RESCASAP packs by price, savings, estimated food weight, pickup time and neighborhood. Opens a visible comparison for the person.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"pack_ids": {
"type": "array",
"minItems": 2,
"maxItems": 3,
"uniqueItems": true,
"items": {
"type": "string",
"maxLength": 80
},
"description": "Two or three pack IDs returned by find_rescue_packs."
}
},
"required": [
"pack_ids"
]
},
"page": "/demo"
}prepare_pack_reservationSensitive Action
Prepare one available RESCASAP pack for human review. Opens the checkout with pay-at-pickup selected, but never reserves, charges or submits anything; the person must confirm.
View tool JSON
{
"name": "prepare_pack_reservation",
"kind": "transact",
"impl": "imperative",
"description": "Prepare one available RESCASAP pack for human review. Opens the checkout with pay-at-pickup selected, but never reserves, charges or submits anything; the person must confirm.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"pack_id": {
"type": "string",
"maxLength": 80,
"description": "Available pack ID returned by find_rescue_packs."
}
},
"required": [
"pack_id"
]
},
"page": "/demo"
}