demo · Playgrounds & Games · JSON · API for agents
Set the pizza size directly or infer it based on the number of people.
{
"name": "set_pizza_size",
"kind": "write",
"impl": "imperative",
"description": "Set the pizza size directly or infer it based on the number of people.",
"inputSchema": {
"type": "object",
"properties": {
"size": {
"type": "string",
"enum": [
"Small",
"Medium",
"Large",
"Extra Large"
],
"description": "The specific size name."
},
"number_of_persons": {
"type": "number",
"description": "The number of people eating to help infer the correct size."
}
}
}
}Set the style of the pizza (colors/theme)
{
"name": "set_pizza_style",
"kind": "write",
"impl": "imperative",
"description": "Set the style of the pizza (colors/theme)",
"inputSchema": {
"type": "object",
"properties": {
"style": {
"type": "string",
"enum": [
"Classic",
"Bianca",
"BBQ",
"Pesto",
"Wales"
]
}
},
"required": [
"style"
]
}
}Control pizza layers (sauce, cheese). Use "add", "remove", or "toggle".
{
"name": "toggle_layer",
"kind": "write",
"impl": "imperative",
"description": "Control pizza layers (sauce, cheese). Use \"add\", \"remove\", or \"toggle\".",
"inputSchema": {
"type": "object",
"properties": {
"layer": {
"type": "string",
"enum": [
"sauce-layer",
"cheese-layer"
]
},
"action": {
"type": "string",
"enum": [
"add",
"remove",
"toggle"
]
}
},
"required": [
"layer"
]
}
}Add one or more toppings to the pizza
{
"name": "add_topping",
"kind": "write",
"impl": "imperative",
"description": "Add one or more toppings to the pizza",
"inputSchema": {
"type": "object",
"properties": {
"topping": {
"type": "string",
"enum": [
"🍕",
"🍄",
"🌿",
"🍍",
"🫑",
"🥓",
"🧅",
"🫒",
"🌽",
"🌶️",
"🐑"
]
},
"size": {
"type": "string",
"enum": [
"Small",
"Medium",
"Large",
"Extra Large"
]
},
"count": {
"type": "integer",
"minimum": 1,
"description": "Number of toppings to add"
}
},
"required": [
"topping"
]
}
}Remove a specific topping from the pizza
{
"name": "remove_topping",
"kind": "write",
"impl": "imperative",
"description": "Remove a specific topping from the pizza",
"inputSchema": {
"type": "object",
"properties": {
"topping": {
"type": "string",
"enum": [
"🍕",
"🍄",
"🌿",
"🍍",
"🫑",
"🥓",
"🧅",
"🫒",
"🌽",
"🌶️",
"🐑"
]
},
"all": {
"type": "boolean",
"description": "Remove all toppings of this type"
}
},
"required": [
"topping"
]
}
}Manage pizza state
{
"name": "manage_pizza",
"kind": "action",
"impl": "imperative",
"description": "Manage pizza state",
"inputSchema": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"remove_last",
"reset"
]
}
},
"required": [
"action"
]
}
}Get a shareable URL for the current pizza creation
{
"name": "share_pizza",
"kind": "action",
"impl": "imperative",
"description": "Get a shareable URL for the current pizza creation",
"inputSchema": {
"type": "object",
"properties": {}
}
}