Skip to content

Commit b80cba3

Browse files
committed
fix: pizza demo remove mcp
1 parent 71336f9 commit b80cba3

File tree

3 files changed

+58
-58
lines changed

3 files changed

+58
-58
lines changed
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
//{
2-
// "name": "get_pizza_price",
3-
// "description": "call this function to get the pizza price",
4-
// "parameters": {
5-
// "type": "object",
6-
// "properties": {
7-
// "pizza_type": {
8-
// "type": "string",
9-
// "description": "The pizza type."
10-
// },
11-
// "quantity": {
12-
// "type": "string",
13-
// "description": "quantity of pizza."
14-
// }
15-
// },
16-
// "required": [ "pizza_type", "quantity" ]
17-
// }
18-
//}
1+
{
2+
"name": "get_pizza_price",
3+
"description": "call this function to get the pizza price",
4+
"parameters": {
5+
"type": "object",
6+
"properties": {
7+
"pizza_type": {
8+
"type": "string",
9+
"description": "The pizza type."
10+
},
11+
"quantity": {
12+
"type": "string",
13+
"description": "quantity of pizza."
14+
}
15+
},
16+
"required": [ "pizza_type", "quantity" ]
17+
}
18+
}
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
//{
2-
// "name": "place_an_order",
3-
// "description": "Place an order when user has confirmed the pizza type and quantity.",
4-
// "parameters": {
5-
// "type": "object",
6-
// "properties": {
7-
// "pizza_type": {
8-
// "type": "string",
9-
// "description": "The pizza type."
10-
// },
11-
// "quantity": {
12-
// "type": "number",
13-
// "description": "quantity of pizza."
14-
// },
15-
// "unit_price": {
16-
// "type": "number",
17-
// "description": "unit price"
18-
// }
19-
// },
20-
// "required": [ "pizza_type", "quantity", "unit_price" ]
21-
// }
22-
//}
1+
{
2+
"name": "place_an_order",
3+
"description": "Place an order when user has confirmed the pizza type and quantity.",
4+
"parameters": {
5+
"type": "object",
6+
"properties": {
7+
"pizza_type": {
8+
"type": "string",
9+
"description": "The pizza type."
10+
},
11+
"quantity": {
12+
"type": "number",
13+
"description": "quantity of pizza."
14+
},
15+
"unit_price": {
16+
"type": "number",
17+
"description": "unit price"
18+
}
19+
},
20+
"required": [ "pizza_type", "quantity", "unit_price" ]
21+
}
22+
}
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
//{
2-
// "name": "make_payment",
3-
// "description": "call this function to make payment",
4-
// "parameters": {
5-
// "type": "object",
6-
// "properties": {
7-
// "order_number": {
8-
// "type": "string",
9-
// "description": "order number."
10-
// },
11-
// "total_amount": {
12-
// "type": "string",
13-
// "description": "total amount."
14-
// }
15-
// },
16-
// "required": [ "order_number", "total_amount" ]
17-
// }
18-
//}
1+
{
2+
"name": "make_payment",
3+
"description": "call this function to make payment",
4+
"parameters": {
5+
"type": "object",
6+
"properties": {
7+
"order_number": {
8+
"type": "string",
9+
"description": "order number."
10+
},
11+
"total_amount": {
12+
"type": "string",
13+
"description": "total amount."
14+
}
15+
},
16+
"required": [ "order_number", "total_amount" ]
17+
}
18+
}

0 commit comments

Comments
 (0)