[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "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_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}}}]

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

[User] What’s the current temperature in Los Angeles and can you also tell me the forecast for tomorrow morning?

[Assistant] [{"name": "get_weather", "arguments": {"location": "Los Angeles"}}, {"name": "get_weather", "arguments": {"location": "Los Angeles", "units": "fahrenheit"}}]


[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": "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": "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": "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": "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_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": "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}}}]

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

[User] I need to know the historical trends of stock prices for Apple, Microsoft, and Google over the past 5 years, including daily volume changes and market sentiment analysis from financial news during that period.

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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_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": "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": "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] What are the main cultural differences between traditional Japanese wedding ceremonies and modern Western wedding customs that might influence family and guest expectations for a blended international celebration?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "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": "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] What are the best personal finance strategies for someone who inherited a large sum of money and wants to invest sustainably while also creating a long-term trust for their grandchildren?

[Assistant] NO_TOOL


[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": "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": "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": "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": "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": "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": "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}}}]

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

[User] I'm looking to plan a short trip to Barcelona next week—could you search for flights from New York (JFK) to Barcelona (BCN) and provide options for a 4-star hotel for check-in on August 22nd through check-out on August 25th?

[Assistant] [{"name": "travel_flight_search", "arguments": {"origin": "JFK", "destination": "BCN", "date": "2024-08-22"}}, {"name": "travel_hotel_search", "arguments": {"city": "Barcelona", "check_in": "2024-08-22", "check_out": "2024-08-25", "stars": 4}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "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": "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] How much would it cost to ship a 5kg package from New York to London, given the current weather conditions there, and translate the total cost into euros for clarity?

[Assistant] NO_TOOL


[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": "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": "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": "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": "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": "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": "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}}}]

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

[User] What’s the latest news about Bitcoin and Ethereum prices, and can you compare their current market valuations against yesterday’s closing prices?

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


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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}}}, {"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": "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": "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": "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}}}]

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

[User] Can you check my upcoming events for Friday, April 12th and also generate an AI illustration of a cozy café with a "Best Wishes" banner for a friend’s birthday celebration?

[Assistant] [{"name": "calendar_list_events", "arguments": {"date": "2024-04-12"}}, {"name": "image_generate", "arguments": {"prompt": "A cozy café interior with warm lighting, soft cushions, and a 'Best Wishes' banner for a birthday celebration, hyper-detailed, cinematic lighting, trending on ArtStation", "size": "1024x1024"}}]


[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": "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": "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_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": "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": "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": "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_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}}}]

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

[User] "Can you help me set up a reminder to water my plants at 8 PM tonight and also add a new event to my calendar for a team lunch meeting at 1 PM tomorrow?"

[Assistant] [{"name": "reminder_create", "arguments": {"task": "Water your plants", "time": "20:00"}}, {"name": "calendar_add_event", "arguments": {"title": "Team Lunch Meeting", "start_time": "2023-11-02T13:00:00", "end_time": "2023-11-02T14:00:00"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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_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": "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": "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": "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": "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": "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 compare the energy savings of switching to an eco mode thermostat setting based on average daily temperatures in my area, and then translate the key findings into French for my international team? First, I need the current typical temperatures in my region, then I'd like a summary of potential savings when using eco mode.

[Assistant] [{"name": "wikipedia_search", "arguments": {"title": "Average daily temperatures by region"}}, {"name": "notes_add", "arguments": {"title": "Eco Mode Thermostat Savings Analysis", "content": "Request pending: Current typical temperatures in region and eco mode savings summary."}}, {"name": "translate_text", "arguments": {"text": "", "target_lang": "fr"}}]


[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": "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": "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": "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": "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": "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": "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": "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}}}]

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

[User] Find flights from New York (JFK) to Barcelona (BCN) for me on October 15th, and once the details are confirmed, send me a reminder text with the estimated cost and check-in time for the flight.

[Assistant] [{"name": "travel_flight_search", "arguments": {"origin": "JFK", "destination": "BCN", "date": "2024-10-15", "passengers": 1}}, {"name": "sms_send", "arguments": {"phone_number": "", "message": "Flight reminder: Your flight from JFK to BCN on October 15th is confirmed. Estimated cost: [INSERT_COST], Check-in time: [INSERT_CHECK_IN_TIME]."}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "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}}}]

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

[User] Can you help me prepare a bilingual summary (Spanish and English) of the attached key meeting points from our recent client review, while also scheduling a follow-up reminder for this in my calendar 10 days from today?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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}}}, {"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": "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": "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}}}]

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

[User] Find my latest emails from "HR" and add a reminder to follow up on the attached benefits documentation by this Friday afternoon. Also, while doing that, could you briefly summarize what the 2024 smart home trends are?

[Assistant] [{"name": "email_search", "arguments": {"query": "from:HR", "max_results": 1}}, {"name": "todo_add_item", "arguments": {"item": "Follow up on attached benefits documentation from HR by this Friday afternoon."}}, {"name": "wikipedia_search", "arguments": {"title": "2024 smart home trends"}}]


[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": "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": "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": "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": "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": "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": "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}}}]

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 approach for implementing blockchain technology in a small local healthcare clinic to securely manage patient data while keeping costs low?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"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_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": "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": "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": "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": "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": "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": "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 check the current weather conditions in San Francisco and then get the latest price of Tesla (TSLA) stock?

[Assistant] [{"name": "get_weather", "arguments": {"location": "San Francisco"}}, {"name": "stock_get_price", "arguments": {"ticker": "TSLA"}}]


[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": "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": "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": "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": "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_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": "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": "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] What’s the latest Ethereum price in USD and how much would 150 USD be in euros at today’s rates?

[Assistant] [{"name": "crypto_get_price", "arguments": {"coin_id": "ethereum"}}, {"name": "currency_convert", "arguments": {"amount": 150, "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": "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": "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": "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": "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": "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_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": "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] "Can you convert 200 USD to EUR and simultaneously add my favorite workout session from last week—30-minute swimming—to my health log today?"

[Assistant] [{"name": "currency_convert", "arguments": {"amount": 200, "from_currency": "USD", "to_currency": "EUR"}}, {"name": "health_log_workout", "arguments": {"activity_type": "swim", "duration_minutes": 30}}]


[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": "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": "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": "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": "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": "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": "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": "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}}}]

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

[User] Can I get a summary of the most recent political debates held in the European Parliament over the past 30 days along with the voting records and personal stance statements of each member who participated?

[Assistant] NO_TOOL


[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": "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": "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": "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": "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": "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": "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": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "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 calculate my monthly utility bills based on my household’s energy consumption patterns from January to March?

[Assistant] NO_TOOL


[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": "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": "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": "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_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "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}}}]

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

[User] Find the best vegan-friendly café with organic coffee options and a cozy atmosphere located within a 15-minute walk from 4567 Maple Street, along with the menu details and current hours, but only list places that offer gluten-free pastry alternatives and have an average rating of at least 4.2 on Google Reviews.

[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": "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": "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": "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": "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": "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": "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": "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}}}]

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 any major news headlines from the technology sector?"

[Assistant] [{"name": "crypto_get_price", "arguments": {"coin_id": "ethereum"}}, {"name": "news_get_headlines", "arguments": {"category": "technology"}}]


[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": "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": "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": "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": "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": "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_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}]

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

[User] "Can you check today’s weather in Barcelona while also sending me an email reminder with the details, including a file attachment of a weather summary report?"

[Assistant] [{"name": "get_weather", "arguments": {"location": "Barcelona", "units": "celsius"}}, {"name": "email_send", "arguments": {"to_address": "", "subject": "Weather Summary for Barcelona", "body_text": "Here is the current weather summary for Barcelona:\n\n[Weather Details to be inserted].\n\nPlease find the attached weather report for further details.", "attachments": ["weather_summary_report.txt"]}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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_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": "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": "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": "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": "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 find hotels in Miami for my stay from July 20th to July 25th and then book a table for four at the first-rated restaurant near one of the options you recommend, preferably around 7:30 PM?

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "Miami", "check_in": "2024-07-20", "check_out": "2024-07-25"}}]


[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": "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": "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": "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": "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": "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": "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}}}]

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

[User] Schedule a group dinner at *Olive Garden* for six people at 7 PM and book an Uber to pick up my friends from the office at 6:30 PM to ensure we arrive together.

[Assistant] [{"name": "restaurant_reserve", "arguments": {"restaurant_name": "Olive Garden", "time": "19:00:00", "party_size": 6}}, {"name": "ride_book", "arguments": {"pickup_location": "Office", "dropoff_location": "Olive Garden", "ride_type": "standard"}}, {"name": "calendar_add_event", "arguments": {"title": "Group Dinner at Olive Garden", "start_time": "2023-10-13T19:00:00Z", "end_time": "2023-10-13T21:00:00Z"}}]


[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": "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": "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": "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": "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": "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": "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": "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}}}]

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

[User] Find me the latest Ethereum price in USD and then send me a reminder via text message to check if it dropped below $3,000 before 3 PM today.

[Assistant] [{"name": "crypto_get_price", "arguments": {"coin_id": "ethereum"}}, {"name": "sms_send", "arguments": {"phone_number": "", "message": "Ethereum price has dropped below $3,000. Please check!"}}]


[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": "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": "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": "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": "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": "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": "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}}}]

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

[User] "Can you help me plan a weekend trip to a nearby restaurant by checking the best dining spots within 20 minutes of my location, booking a table for four people at 7 PM, and also provide the latest news headlines about the restaurant’s recent updates and reviews?"

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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_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": "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": "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_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_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}}}]

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 latest headlines on business news from the US and also show me the list of my upcoming calendar events for tomorrow, specifically from the 'primary' calendar?"

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "business", "country": "us"}}, {"name": "calendar_list_events", "arguments": {"date": "2023-11-01", "calendar_id": "primary"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "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": "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": "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": "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": "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": "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] I'm about to head to the gym in an hour but I'd like to first check my work calendar for any conflicts on my scheduled gym day and then log my last weightlifting session.

[Assistant] [{"name": "calendar_list_events", "arguments": {"date": "2023-10-13"}}, {"name": "health_log_workout", "arguments": {"activity_type": "weights", "duration_minutes": 0}}]


[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": "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": "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": "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": "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_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": "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}}}]

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

[User] What’s the walking route from 123 Main St, Boston to the Boston Common Parking Garage, and how long will it take?

[Assistant] [{"name": "maps_get_directions", "arguments": {"start": "123 Main St, Boston", "end": "Boston Common Parking Garage", "mode": "walking"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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_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": "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": "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": "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": "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}}}]

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

[User] What are the top-rated 5-star hotels in Lisbon for a trip from July 15 to July 20, and provide a brief summary of the city’s history so I can plan a cultural itinerary?

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "Lisbon", "check_in": "2024-07-15", "check_out": "2024-07-20", "stars": 5}}, {"name": "wikipedia_search", "arguments": {"title": "History of Lisbon"}}]