{
"functions": [
{
"name": "get_order_status",
"description": "Look up the status of a customer order by order ID",
"endpoint": "https://api.example.com/orders/{order_id}/status",
"method": "GET",
"parameters": {
"type": "object",
"properties": {
"order_id": {
"type": "string",
"description": "The order ID to look up"
}
},
"required": ["order_id"]
}
},
{
"name": "create_ticket",
"description": "Create a support ticket",
"endpoint": "https://api.example.com/tickets",
"method": "POST",
"parameters": {
"type": "object",
"properties": {
"subject": {
"type": "string",
"description": "Ticket subject"
},
"description": {
"type": "string",
"description": "Ticket description"
}
},
"required": ["subject"]
}
}
]
}