[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "restaurant_reserve", "description": "Book a table at a restaurant.", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string"}, "time": {"type": "string"}, "party_size": {"type": "integer"}}, "required": ["restaurant_name", "time", "party_size"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_current_datetime", "description": "Get the current date and time for a specific timezone.", "parameters": {"type": "object", "properties": {"timezone": {"type": "string", "default": "UTC"}}, "required": [], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] What’s the best way to book a table at my top-choice restaurant for 6:30 PM on Friday while also scheduling a calendar reminder for the reservation confirmation email—do I need to check their policies first for any specific requirements?

[Assistant] [{"name": "restaurant_reserve", "arguments": {"restaurant_name": "", "time": "18:30", "party_size": 1}}, {"name": "web_search", "arguments": {"query": "[restaurant name] reservation policy 2024", "num_results": 3}}, {"name": "reminder_create", "arguments": {"task": "Check reservation confirmation email for [restaurant name]", "time": "2024-12-06T18:00:00Z"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "social_post_tweet", "description": "Post a tweet to Twitter/X.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "maxLength": 280}, "media_ids": {"type": "array", "items": {"type": "string"}}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_remove_event", "description": "Delete an event by ID.", "parameters": {"type": "object", "properties": {"event_id": {"type": "string"}, "notify_attendees": {"type": "boolean", "default": true}}, "required": ["event_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "health_log_workout", "description": "Log a workout session.", "parameters": {"type": "object", "properties": {"activity_type": {"type": "string", "enum": ["run", "cycle", "swim", "weights"]}, "duration_minutes": {"type": "integer"}, "calories_burned": {"type": "integer"}}, "required": ["activity_type", "duration_minutes"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] What are the latest quarterly fundamentals (P/E ratio, market cap, and dividend yield) for the stock symbol AAPL, and can you also retrieve a concise Wikipedia summary of the company’s latest quarterly earnings report?

[Assistant] [{"name": "stock_get_fundamentals", "arguments": {"ticker": "AAPL", "period": "quarterly"}}, {"name": "wikipedia_search", "arguments": {"title": "Apple Inc. latest quarterly earnings report"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "maps_get_directions", "description": "Get driving or walking directions.", "parameters": {"type": "object", "properties": {"start": {"type": "string", "description": "Address or coordinates"}, "end": {"type": "string", "description": "Address or coordinates"}, "mode": {"type": "string", "enum": ["driving", "walking", "transit", "bicycling"], "default": "driving"}}, "required": ["start", "end"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "unit_converter", "description": "Convert values between different units (length, weight, temp).", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_unit": {"type": "string", "description": "e.g., meters, kg, F"}, "to_unit": {"type": "string", "description": "e.g., feet, lbs, C"}}, "required": ["amount", "from_unit", "to_unit"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Can you provide me with the driving directions from my current location to the nearest bookstore and also tell me the current weather conditions in that area?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "git_commit", "description": "Simulate a git commit.", "parameters": {"type": "object", "properties": {"message": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}, "default": ["."]}}, "required": ["message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "unit_converter", "description": "Convert values between different units (length, weight, temp).", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_unit": {"type": "string", "description": "e.g., meters, kg, F"}, "to_unit": {"type": "string", "description": "e.g., feet, lbs, C"}}, "required": ["amount", "from_unit", "to_unit"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] I need to search for flights from New York (JFK) to Tokyo (HND) on November 15th for 4 passengers and then get the current weather forecast for Tokyo in degrees Celsius to help plan the trip.

[Assistant] [{"name": "travel_flight_search", "arguments": {"origin": "JFK", "destination": "HND", "date": "2024-11-15", "passengers": 4}}, {"name": "get_weather", "arguments": {"location": "Tokyo", "units": "celsius"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "notes_add", "description": "Create a new note.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "content": {"type": "string"}, "folder": {"type": "string", "default": "General"}}, "required": ["content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "crypto_get_price", "description": "Get current price of a cryptocurrency.", "parameters": {"type": "object", "properties": {"coin_id": {"type": "string", "description": "e.g., bitcoin, ethereum"}, "currency": {"type": "string", "default": "usd"}}, "required": ["coin_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "health_log_workout", "description": "Log a workout session.", "parameters": {"type": "object", "properties": {"activity_type": {"type": "string", "enum": ["run", "cycle", "swim", "weights"]}, "duration_minutes": {"type": "integer"}, "calories_burned": {"type": "integer"}}, "required": ["activity_type", "duration_minutes"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] How can I book a hotel for my trip to New York from June 15th to June 20th and check the current price of Bitcoin at the same time?

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "New York", "check_in": "2024-06-15", "check_out": "2024-06-20"}}, {"name": "crypto_get_price", "arguments": {"coin_id": "bitcoin"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "restaurant_reserve", "description": "Book a table at a restaurant.", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string"}, "time": {"type": "string"}, "party_size": {"type": "integer"}}, "required": ["restaurant_name", "time", "party_size"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_read", "description": "Read content of a local file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "encoding": {"type": "string", "default": "utf-8"}}, "required": ["filepath"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calculator_eval", "description": "Calculate the result of a mathematical expression.", "parameters": {"type": "object", "properties": {"expression": {"type": "string", "description": "The mathematical formula, e.g., (5*12)/3"}}, "required": ["expression"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] I need to find the latest public posts from a LinkedIn user's profile and then summarize their career achievements in a concise way.

[Assistant] [{"name": "social_get_profile", "arguments": {"username": "USERNAME", "platform": "linkedin"}}, {"name": "text_summarize", "arguments": {"text": "", "length": "short"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather_forecast", "description": "Get a 5-day weather forecast.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "days": {"type": "integer", "maximum": 10, "default": 5}}, "required": ["city"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "currency_convert", "description": "Convert an amount from one currency to another using live rates.", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_currency": {"type": "string", "description": "ISO code, e.g. USD"}, "to_currency": {"type": "string", "description": "ISO code, e.g. EUR"}}, "required": ["amount", "from_currency", "to_currency"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_post_tweet", "description": "Post a tweet to Twitter/X.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "maxLength": 280}, "media_ids": {"type": "array", "items": {"type": "string"}}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] "How can I quickly summarize the latest earnings report for Apple (AAPL) and then schedule a team meeting to discuss the key points with my colleagues, including the CFO? Include the meeting details for tomorrow at 10 AM with the following attendees: john.smith@company.com, jane.doe@company.com, and cfo@company.com."

[Assistant] [{"name": "web_search", "arguments": {"query": "Apple (AAPL) latest earnings report summary 2024", "num_results": 1}}, {"name": "text_summarize", "arguments": {"text": "", "length": "short"}}, {"name": "calendar_add_event", "arguments": {"title": "Apple Earnings Discussion - Key Points", "start_time": "2024-07-10T10:00:00Z", "end_time": "2024-07-10T11:00:00Z", "attendees": ["john.smith@company.com", "jane.doe@company.com", "cfo@company.com"]}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_read", "description": "Read content of a local file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "encoding": {"type": "string", "default": "utf-8"}}, "required": ["filepath"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_post_tweet", "description": "Post a tweet to Twitter/X.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "maxLength": 280}, "media_ids": {"type": "array", "items": {"type": "string"}}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "unit_converter", "description": "Convert values between different units (length, weight, temp).", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_unit": {"type": "string", "description": "e.g., meters, kg, F"}, "to_unit": {"type": "string", "description": "e.g., feet, lbs, C"}}, "required": ["amount", "from_unit", "to_unit"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] What’s the impact of climate change on global biodiversity over the past 50 years based on peer-reviewed ecological studies, including specific species losses and regional hotspots?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather_forecast", "description": "Get a 5-day weather forecast.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "days": {"type": "integer", "maximum": 10, "default": 5}}, "required": ["city"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "unit_converter", "description": "Convert values between different units (length, weight, temp).", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_unit": {"type": "string", "description": "e.g., meters, kg, F"}, "to_unit": {"type": "string", "description": "e.g., feet, lbs, C"}}, "required": ["amount", "from_unit", "to_unit"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_send", "description": "Send an email to a recipient.", "parameters": {"type": "object", "properties": {"to_address": {"type": "string"}, "subject": {"type": "string"}, "body_text": {"type": "string"}, "attachments": {"type": "array", "items": {"type": "string"}}}, "required": ["to_address", "subject", "body_text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] I need the latest weather forecast for Tokyo over the next 7 days and a list of all my scheduled events for September 15, 2024.

[Assistant] [{"name": "get_weather_forecast", "arguments": {"city": "Tokyo", "days": 7}}, {"name": "calendar_list_events", "arguments": {"date": "2024-09-15"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "get_current_datetime", "description": "Get the current date and time for a specific timezone.", "parameters": {"type": "object", "properties": {"timezone": {"type": "string", "default": "UTC"}}, "required": [], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_price", "description": "Get the real-time stock price.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The stock symbol, e.g., AAPL"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "restaurant_reserve", "description": "Book a table at a restaurant.", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string"}, "time": {"type": "string"}, "party_size": {"type": "integer"}}, "required": ["restaurant_name", "time", "party_size"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_read", "description": "Read content of a local file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "encoding": {"type": "string", "default": "utf-8"}}, "required": ["filepath"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Find the latest headlines about technology in the US and reserve a table for four people at a popular Italian restaurant in Los Angeles for tonight at 7:30 PM, while checking the current price of Tesla’s stock (TSLA).

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}, {"name": "restaurant_reserve", "arguments": {"restaurant_name": "Eataly Los Angeles", "time": "19:30", "party_size": 4}}, {"name": "stock_get_price", "arguments": {"ticker": "TSLA"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_send", "description": "Send an email to a recipient.", "parameters": {"type": "object", "properties": {"to_address": {"type": "string"}, "subject": {"type": "string"}, "body_text": {"type": "string"}, "attachments": {"type": "array", "items": {"type": "string"}}}, "required": ["to_address", "subject", "body_text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_read", "description": "Read content of a local file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "encoding": {"type": "string", "default": "utf-8"}}, "required": ["filepath"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Find the latest deals on wireless earbuds under $100, sorted by price and customer ratings.

[Assistant] [{"name": "shopping_search", "arguments": {"product_name": "wireless earbuds", "price_min": 0, "price_max": 100, "sort_by": "price_asc,rating_desc"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "image_generate", "description": "Generate an image using AI (DALL-E style).", "parameters": {"type": "object", "properties": {"prompt": {"type": "string"}, "size": {"type": "string", "enum": ["256x256", "512x512", "1024x1024"], "default": "1024x1024"}}, "required": ["prompt"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "crypto_get_price", "description": "Get current price of a cryptocurrency.", "parameters": {"type": "object", "properties": {"coin_id": {"type": "string", "description": "e.g., bitcoin, ethereum"}, "currency": {"type": "string", "default": "usd"}}, "required": ["coin_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "currency_convert", "description": "Convert an amount from one currency to another using live rates.", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_currency": {"type": "string", "description": "ISO code, e.g. USD"}, "to_currency": {"type": "string", "description": "ISO code, e.g. EUR"}}, "required": ["amount", "from_currency", "to_currency"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_set_thermostat", "description": "Set the target temperature for the HVAC.", "parameters": {"type": "object", "properties": {"temperature": {"type": "number"}, "mode": {"type": "string", "enum": ["cool", "heat", "eco", "off"]}}, "required": ["temperature", "mode"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] What is the current price of Ethereum in USD and how much would 0.5 ETH be worth in EUR right now?

[Assistant] [{"name": "crypto_get_price", "arguments": {"coin_id": "ethereum", "currency": "usd"}}, {"name": "currency_convert", "arguments": {"amount": 0.5, "from_currency": "USD", "to_currency": "EUR"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "git_commit", "description": "Simulate a git commit.", "parameters": {"type": "object", "properties": {"message": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}, "default": ["."]}}, "required": ["message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "unit_converter", "description": "Convert values between different units (length, weight, temp).", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_unit": {"type": "string", "description": "e.g., meters, kg, F"}, "to_unit": {"type": "string", "description": "e.g., feet, lbs, C"}}, "required": ["amount", "from_unit", "to_unit"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Find the latest earnings reports and P/E ratio for Tesla (TSLA), then summarize the key findings into a concise 3-sentence overview of their profitability trends over the past year.

[Assistant] [{"name": "stock_get_fundamentals", "arguments": {"ticker": "TSLA", "period": "annual"}}, {"name": "web_search", "arguments": {"query": "Tesla (TSLA) latest earnings reports past year", "num_results": 3}}, {"name": "text_summarize", "arguments": {"text": "", "length": "short"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_set_thermostat", "description": "Set the target temperature for the HVAC.", "parameters": {"type": "object", "properties": {"temperature": {"type": "number"}, "mode": {"type": "string", "enum": ["cool", "heat", "eco", "off"]}}, "required": ["temperature", "mode"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_price", "description": "Get the real-time stock price.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The stock symbol, e.g., AAPL"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "maps_get_directions", "description": "Get driving or walking directions.", "parameters": {"type": "object", "properties": {"start": {"type": "string", "description": "Address or coordinates"}, "end": {"type": "string", "description": "Address or coordinates"}, "mode": {"type": "string", "enum": ["driving", "walking", "transit", "bicycling"], "default": "driving"}}, "required": ["start", "end"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_remove_event", "description": "Delete an event by ID.", "parameters": {"type": "object", "properties": {"event_id": {"type": "string"}, "notify_attendees": {"type": "boolean", "default": true}}, "required": ["event_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_read", "description": "Read content of a local file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "encoding": {"type": "string", "default": "utf-8"}}, "required": ["filepath"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Check the latest news headlines in the technology sector for the US and update my smart thermostat to eco mode at 72°F while I review the updates.

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}, {"name": "smarthome_set_thermostat", "arguments": {"temperature": 72, "mode": "eco"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "crypto_get_price", "description": "Get current price of a cryptocurrency.", "parameters": {"type": "object", "properties": {"coin_id": {"type": "string", "description": "e.g., bitcoin, ethereum"}, "currency": {"type": "string", "default": "usd"}}, "required": ["coin_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "sms_send", "description": "Send a text message.", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string"}, "message": {"type": "string"}}, "required": ["phone_number", "message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] What’s the current price of Ethereum in USD and a quick update on its 24-hour trading volume?

[Assistant] [{"name": "crypto_get_price", "arguments": {"coin_id": "ethereum", "currency": "usd"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "slack_post_message", "description": "Post a message to a specific Slack channel.", "parameters": {"type": "object", "properties": {"channel_id": {"type": "string"}, "text": {"type": "string"}, "notify_users": {"type": "boolean", "default": false}}, "required": ["channel_id", "text"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] I need detailed historical analysis of the economic policies implemented in France during the 1970s and their impact on the country's industrial growth, including primary source documents and expert commentary.

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Show me the current weather in New York, then search for 4-star hotels available for check-in on September 15 and check-out on September 18, while also saving the top three options to a file named "ny_trip_hotels.txt".

[Assistant] [{"name": "get_weather", "arguments": {"location": "New York"}}, {"name": "travel_hotel_search", "arguments": {"city": "New York", "check_in": "2023-09-15", "check_out": "2023-09-18", "stars": 4}}, {"name": "file_write", "arguments": {"filepath": "ny_trip_hotels.txt", "content": "", "overwrite": true}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "maps_get_directions", "description": "Get driving or walking directions.", "parameters": {"type": "object", "properties": {"start": {"type": "string", "description": "Address or coordinates"}, "end": {"type": "string", "description": "Address or coordinates"}, "mode": {"type": "string", "enum": ["driving", "walking", "transit", "bicycling"], "default": "driving"}}, "required": ["start", "end"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_post_tweet", "description": "Post a tweet to Twitter/X.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "maxLength": 280}, "media_ids": {"type": "array", "items": {"type": "string"}}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "sms_send", "description": "Send a text message.", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string"}, "message": {"type": "string"}}, "required": ["phone_number", "message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "crypto_get_price", "description": "Get current price of a cryptocurrency.", "parameters": {"type": "object", "properties": {"coin_id": {"type": "string", "description": "e.g., bitcoin, ethereum"}, "currency": {"type": "string", "default": "usd"}}, "required": ["coin_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "currency_convert", "description": "Convert an amount from one currency to another using live rates.", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_currency": {"type": "string", "description": "ISO code, e.g. USD"}, "to_currency": {"type": "string", "description": "ISO code, e.g. EUR"}}, "required": ["amount", "from_currency", "to_currency"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] "I need to plan my weekend trip: first, can you search for affordable mid-range hotels near Paris’s Sacré-Cœur (around €120-$150 per night) and check if they offer free airport transfers? Then, after confirming the best options, book a rideshare from Paris Charles de Gaulle Airport (CDG) to the hotel I choose, standard class for four people, but make sure to include a 15-minute buffer at both ends."

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_lock_door", "description": "Lock or unlock a smart door.", "parameters": {"type": "object", "properties": {"door_name": {"type": "string", "default": "front_door"}, "action": {"type": "string", "enum": ["lock", "unlock"]}}, "required": ["action"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "slack_post_message", "description": "Post a message to a specific Slack channel.", "parameters": {"type": "object", "properties": {"channel_id": {"type": "string"}, "text": {"type": "string"}, "notify_users": {"type": "boolean", "default": false}}, "required": ["channel_id", "text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_current_datetime", "description": "Get the current date and time for a specific timezone.", "parameters": {"type": "object", "properties": {"timezone": {"type": "string", "default": "UTC"}}, "required": [], "additionalProperties": false}}}, {"type": "function", "function": {"name": "notes_add", "description": "Create a new note.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "content": {"type": "string"}, "folder": {"type": "string", "default": "General"}}, "required": ["content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] "Can you search for 3-star hotels in Barcelona for my stay from May 15th to May 20th?"

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "Barcelona", "check_in": "2024-05-15", "check_out": "2024-05-20", "stars": 3}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "image_generate", "description": "Generate an image using AI (DALL-E style).", "parameters": {"type": "object", "properties": {"prompt": {"type": "string"}, "size": {"type": "string", "enum": ["256x256", "512x512", "1024x1024"], "default": "1024x1024"}}, "required": ["prompt"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "maps_get_directions", "description": "Get driving or walking directions.", "parameters": {"type": "object", "properties": {"start": {"type": "string", "description": "Address or coordinates"}, "end": {"type": "string", "description": "Address or coordinates"}, "mode": {"type": "string", "enum": ["driving", "walking", "transit", "bicycling"], "default": "driving"}}, "required": ["start", "end"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Can you help me find the best way to design a sustainable and energy-efficient urban community from scratch, including architectural layouts, zoning policies, and community engagement strategies?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "get_weather_forecast", "description": "Get a 5-day weather forecast.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "days": {"type": "integer", "maximum": 10, "default": 5}}, "required": ["city"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_remove_event", "description": "Delete an event by ID.", "parameters": {"type": "object", "properties": {"event_id": {"type": "string"}, "notify_attendees": {"type": "boolean", "default": true}}, "required": ["event_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_price", "description": "Get the real-time stock price.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string", "description": "The stock symbol, e.g., AAPL"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "health_log_workout", "description": "Log a workout session.", "parameters": {"type": "object", "properties": {"activity_type": {"type": "string", "enum": ["run", "cycle", "swim", "weights"]}, "duration_minutes": {"type": "integer"}, "calories_burned": {"type": "integer"}}, "required": ["activity_type", "duration_minutes"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Can you add a workout session for running for 45 minutes to my health log?

[Assistant] [{"name": "health_log_workout", "arguments": {"activity_type": "run", "duration_minutes": 45}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "slack_post_message", "description": "Post a message to a specific Slack channel.", "parameters": {"type": "object", "properties": {"channel_id": {"type": "string"}, "text": {"type": "string"}, "notify_users": {"type": "boolean", "default": false}}, "required": ["channel_id", "text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "notes_add", "description": "Create a new note.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "content": {"type": "string"}, "folder": {"type": "string", "default": "General"}}, "required": ["content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lock_door", "description": "Lock or unlock a smart door.", "parameters": {"type": "object", "properties": {"door_name": {"type": "string", "default": "front_door"}, "action": {"type": "string", "enum": ["lock", "unlock"]}}, "required": ["action"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Find all hotel options in Paris for June 10–12 with at least 4 stars that mention "view" in the description, then translate the top three results into French for review by our French-speaking team.

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "Paris", "check_in": "2024-06-10", "check_out": "2024-06-12", "stars": 4}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_search", "description": "Search for emails in the inbox.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Keywords or sender name."}, "max_results": {"type": "integer", "default": 10}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calculator_eval", "description": "Calculate the result of a mathematical expression.", "parameters": {"type": "object", "properties": {"expression": {"type": "string", "description": "The mathematical formula, e.g., (5*12)/3"}}, "required": ["expression"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_set_thermostat", "description": "Set the target temperature for the HVAC.", "parameters": {"type": "object", "properties": {"temperature": {"type": "number"}, "mode": {"type": "string", "enum": ["cool", "heat", "eco", "off"]}}, "required": ["temperature", "mode"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "restaurant_reserve", "description": "Book a table at a restaurant.", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string"}, "time": {"type": "string"}, "party_size": {"type": "integer"}}, "required": ["restaurant_name", "time", "party_size"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] "Can you search for emails from my travel agency containing 'boarding pass' in the subject or body, and then remind me to check for travel updates 1 hour before my flight departs if no emails are found?"

[Assistant] [{"name": "email_search", "arguments": {"query": "\"boarding pass\"", "max_results": 1}}, {"name": "reminder_create", "arguments": {"task": "Check for travel updates before your flight departure.", "time": "1 hour before flight departure"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_lock_door", "description": "Lock or unlock a smart door.", "parameters": {"type": "object", "properties": {"door_name": {"type": "string", "default": "front_door"}, "action": {"type": "string", "enum": ["lock", "unlock"]}}, "required": ["action"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_search", "description": "Search for emails in the inbox.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Keywords or sender name."}, "max_results": {"type": "integer", "default": 10}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_remove_event", "description": "Delete an event by ID.", "parameters": {"type": "object", "properties": {"event_id": {"type": "string"}, "notify_attendees": {"type": "boolean", "default": true}}, "required": ["event_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "sms_send", "description": "Send a text message.", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string"}, "message": {"type": "string"}}, "required": ["phone_number", "message"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Can you check my inbox for any messages related to "project proposal" and then add the attached proposal file to my shopping cart while locking the front door before leaving for the meeting?

[Assistant] [{"name": "email_search", "arguments": {"query": "project proposal"}}, {"name": "shopping_cart_add", "arguments": {"item_id": "attached_proposal_file"}}, {"name": "smarthome_lock_door", "arguments": {"action": "lock"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "crypto_get_price", "description": "Get current price of a cryptocurrency.", "parameters": {"type": "object", "properties": {"coin_id": {"type": "string", "description": "e.g., bitcoin, ethereum"}, "currency": {"type": "string", "default": "usd"}}, "required": ["coin_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_search", "description": "Search for emails in the inbox.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Keywords or sender name."}, "max_results": {"type": "integer", "default": 10}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_set_thermostat", "description": "Set the target temperature for the HVAC.", "parameters": {"type": "object", "properties": {"temperature": {"type": "number"}, "mode": {"type": "string", "enum": ["cool", "heat", "eco", "off"]}}, "required": ["temperature", "mode"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] What’s the current price of Solana (SOL) in EUR and is there a way to track its price changes throughout the day?

[Assistant] [{"name": "crypto_get_price", "arguments": {"coin_id": "solana", "currency": "eur"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "health_log_workout", "description": "Log a workout session.", "parameters": {"type": "object", "properties": {"activity_type": {"type": "string", "enum": ["run", "cycle", "swim", "weights"]}, "duration_minutes": {"type": "integer"}, "calories_burned": {"type": "integer"}}, "required": ["activity_type", "duration_minutes"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_search", "description": "Search for emails in the inbox.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Keywords or sender name."}, "max_results": {"type": "integer", "default": 10}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] How can I get a list of all my monthly utility bills from the past 5 years, including payment history and receipts, from my bank’s customer portal?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calculator_eval", "description": "Calculate the result of a mathematical expression.", "parameters": {"type": "object", "properties": {"expression": {"type": "string", "description": "The mathematical formula, e.g., (5*12)/3"}}, "required": ["expression"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Book a premium rideshare from 5th Ave & 34th St, Manhattan to LaGuardia Airport, with a scheduled pickup time for 7:45 AM tomorrow.

[Assistant] [{"name": "ride_book", "arguments": {"pickup_location": "5th Ave & 34th St, Manhattan", "dropoff_location": "LaGuardia Airport, New York", "ride_type": "premium"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_lock_door", "description": "Lock or unlock a smart door.", "parameters": {"type": "object", "properties": {"door_name": {"type": "string", "default": "front_door"}, "action": {"type": "string", "enum": ["lock", "unlock"]}}, "required": ["action"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "restaurant_reserve", "description": "Book a table at a restaurant.", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string"}, "time": {"type": "string"}, "party_size": {"type": "integer"}}, "required": ["restaurant_name", "time", "party_size"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "sms_send", "description": "Send a text message.", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string"}, "message": {"type": "string"}}, "required": ["phone_number", "message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "git_commit", "description": "Simulate a git commit.", "parameters": {"type": "object", "properties": {"message": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}, "default": ["."]}}, "required": ["message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] Can you set a reminder for my grocery pickup at 5 PM tomorrow, and also look up a short Wikipedia summary of the history of the Eiffel Tower?

[Assistant] [{"name": "reminder_create", "arguments": {"task": "Grocery pickup", "time": "17:00 tomorrow"}}, {"name": "wikipedia_search", "arguments": {"title": "Eiffel Tower"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "restaurant_reserve", "description": "Book a table at a restaurant.", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string"}, "time": {"type": "string"}, "party_size": {"type": "integer"}}, "required": ["restaurant_name", "time", "party_size"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_current_datetime", "description": "Get the current date and time for a specific timezone.", "parameters": {"type": "object", "properties": {"timezone": {"type": "string", "default": "UTC"}}, "required": [], "additionalProperties": false}}}, {"type": "function", "function": {"name": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "image_generate", "description": "Generate an image using AI (DALL-E style).", "parameters": {"type": "object", "properties": {"prompt": {"type": "string"}, "size": {"type": "string", "enum": ["256x256", "512x512", "1024x1024"], "default": "1024x1024"}}, "required": ["prompt"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_search", "description": "Search for emails in the inbox.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Keywords or sender name."}, "max_results": {"type": "integer", "default": 10}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}]

To use a tool, output a JSON list of tool calls. If no tool matches, output NO_TOOL.

[User] I need to know the political affiliation and voting history of the prime minister of Japan from the past five years in detail, including their stance on recent international trade negotiations.

[Assistant] NO_TOOL