fix: pizza demo remove mcp
This commit is contained in:
parent
71336f9ecf
commit
b80cba3cfc
|
|
@ -1,18 +1,18 @@
|
|||
//{
|
||||
// "name": "get_pizza_price",
|
||||
// "description": "call this function to get the pizza price",
|
||||
// "parameters": {
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "pizza_type": {
|
||||
// "type": "string",
|
||||
// "description": "The pizza type."
|
||||
// },
|
||||
// "quantity": {
|
||||
// "type": "string",
|
||||
// "description": "quantity of pizza."
|
||||
// }
|
||||
// },
|
||||
// "required": [ "pizza_type", "quantity" ]
|
||||
// }
|
||||
//}
|
||||
{
|
||||
"name": "get_pizza_price",
|
||||
"description": "call this function to get the pizza price",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pizza_type": {
|
||||
"type": "string",
|
||||
"description": "The pizza type."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "string",
|
||||
"description": "quantity of pizza."
|
||||
}
|
||||
},
|
||||
"required": [ "pizza_type", "quantity" ]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +1,22 @@
|
|||
//{
|
||||
// "name": "place_an_order",
|
||||
// "description": "Place an order when user has confirmed the pizza type and quantity.",
|
||||
// "parameters": {
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "pizza_type": {
|
||||
// "type": "string",
|
||||
// "description": "The pizza type."
|
||||
// },
|
||||
// "quantity": {
|
||||
// "type": "number",
|
||||
// "description": "quantity of pizza."
|
||||
// },
|
||||
// "unit_price": {
|
||||
// "type": "number",
|
||||
// "description": "unit price"
|
||||
// }
|
||||
// },
|
||||
// "required": [ "pizza_type", "quantity", "unit_price" ]
|
||||
// }
|
||||
//}
|
||||
{
|
||||
"name": "place_an_order",
|
||||
"description": "Place an order when user has confirmed the pizza type and quantity.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pizza_type": {
|
||||
"type": "string",
|
||||
"description": "The pizza type."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "number",
|
||||
"description": "quantity of pizza."
|
||||
},
|
||||
"unit_price": {
|
||||
"type": "number",
|
||||
"description": "unit price"
|
||||
}
|
||||
},
|
||||
"required": [ "pizza_type", "quantity", "unit_price" ]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,18 +1,18 @@
|
|||
//{
|
||||
// "name": "make_payment",
|
||||
// "description": "call this function to make payment",
|
||||
// "parameters": {
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "order_number": {
|
||||
// "type": "string",
|
||||
// "description": "order number."
|
||||
// },
|
||||
// "total_amount": {
|
||||
// "type": "string",
|
||||
// "description": "total amount."
|
||||
// }
|
||||
// },
|
||||
// "required": [ "order_number", "total_amount" ]
|
||||
// }
|
||||
//}
|
||||
{
|
||||
"name": "make_payment",
|
||||
"description": "call this function to make payment",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"order_number": {
|
||||
"type": "string",
|
||||
"description": "order number."
|
||||
},
|
||||
"total_amount": {
|
||||
"type": "string",
|
||||
"description": "total amount."
|
||||
}
|
||||
},
|
||||
"required": [ "order_number", "total_amount" ]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue