Tool tree
Online ordering site for The Sushi Co, whose live sushi kitchens serve freshly made Japanese sushi.
Implementation
gradeNot graded
gradeNot graded
search_menuAnswer
Search the current restaurant menu by keyword and return matching items with their id, name and price.
View tool JSON
{
"name": "search_menu",
"kind": "answer",
"impl": "imperative",
"description": "Search the current restaurant menu by keyword and return matching items with their id, name and price.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words to match against item names and descriptions."
}
},
"required": [
"query"
]
}
}get_store_infoAnswer
Get the current store name, address, phone number, supported order occasions and opening hours.
View tool JSON
{
"name": "get_store_info",
"kind": "answer",
"impl": "imperative",
"description": "Get the current store name, address, phone number, supported order occasions and opening hours.",
"inputSchema": {
"type": "object",
"properties": {}
}
}add_to_basketAction
Add a menu item to the current basket by its id (as returned by search_menu).
View tool JSON
{
"name": "add_to_basket",
"kind": "act",
"impl": "imperative",
"description": "Add a menu item to the current basket by its id (as returned by search_menu).",
"inputSchema": {
"type": "object",
"properties": {
"itemId": {
"type": "string",
"description": "The item id returned by search_menu."
},
"quantity": {
"type": "integer",
"minimum": 1,
"description": "How many to add. Defaults to 1."
}
},
"required": [
"itemId"
]
}
}start_checkoutSensitive Action
Return the checkout URL for the current basket so the customer can review and pay.
View tool JSON
{
"name": "start_checkout",
"kind": "transact",
"impl": "imperative",
"description": "Return the checkout URL for the current basket so the customer can review and pay.",
"inputSchema": {
"type": "object",
"properties": {}
}
}