[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}]

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

[User] I need help booking a table at my top-rated Italian restaurant, La Delizia, for tonight at 7 PM for a party of 4, and at the same time, I want you to send an urgent reminder to my team in the "dinner-plans" Slack channel about our dinner reservation details.

[Assistant] [{"name": "restaurant_reserve", "arguments": {"restaurant_name": "La Delizia", "time": "19:00", "party_size": 4}}, {"name": "slack_post_message", "arguments": {"channel_id": "dinner-plans", "text": "🚨 Urgent Reminder: Our dinner reservation at La Delizia is confirmed for tonight at 7 PM for a party of 4. Please ensure everyone is on time and ready to go! 🍝", "notify_users": true}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}]

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

[User] Can you find and summarize the latest Wikipedia article on "artificial intelligence breakthroughs in 2024," then create a todo item to review the key takeaways with my team?

[Assistant] [{"name": "wikipedia_search", "arguments": {"title": "Artificial intelligence breakthroughs in 2024"}}, {"name": "todo_add_item", "arguments": {"item": "Review key takeaways from the latest Wikipedia article on 'artificial intelligence breakthroughs in 2024' with the team"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "sms_send", "description": "Send a text message.", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string"}, "message": {"type": "string"}}, "required": ["phone_number", "message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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}}}]

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

[User] Find the best vegan restaurants in the city that have gluten-free options for breakfast, lunch, and dinner, ranked by overall customer ratings and their environmental sustainability practices.

[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": "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": "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": "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": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}]

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

[User] What are the best available options for a wireless earbud case on Amazon under $50 that also includes noise cancellation, and then generate a high-quality image illustrating a person using these earbuds in a gym setting with the product name displayed prominently?

[Assistant] [{"name": "shopping_search", "arguments": {"product_name": "wireless earbud case with noise cancellation", "price_min": 0, "price_max": 50}}, {"name": "image_generate", "arguments": {"prompt": "A person using high-end wireless earbuds with noise cancellation in a gym setting, lifting weights, with the product name 'BestFit ANC Earbuds Case' prominently displayed on the case and earbuds. Ultra-realistic, cinematic lighting, 8K detail.", "size": "1024x1024"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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": "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": "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] Can you find 3-5 sentence summaries of recent travel advice for visiting Paris in November?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_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": "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] Find the latest real-time stock price and market performance for the company Tesla (TSLA) including any after-hours activity if applicable.

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "notes_add", "description": "Create a new note.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "content": {"type": "string"}, "folder": {"type": "string", "default": "General"}}, "required": ["content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "image_generate", "description": "Generate an image using AI (DALL-E style).", "parameters": {"type": "object", "properties": {"prompt": {"type": "string"}, "size": {"type": "string", "enum": ["256x256", "512x512", "1024x1024"], "default": "1024x1024"}}, "required": ["prompt"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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] How many calories are in one kilogram of blueberries and what is the equivalent in calories for one pound of them?

[Assistant] NO_TOOL


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

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

[User] Reserve a table for six people at a popular Italian restaurant downtown for tomorrow evening at 7 PM, and also send me a text to my personal number with the confirmation details.

[Assistant] NO_TOOL


[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": "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": "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": "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}}}, {"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": "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": "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] Can you book an Uber ride to the downtown office location, set a reminder to call the client by 10 AM to confirm the appointment, and make sure the conference room lights are on when we arrive? The meeting starts at 9:30 AM.

[Assistant] [{"name": "ride_book", "arguments": {"pickup_location": "current location", "dropoff_location": "downtown office location"}}, {"name": "reminder_create", "arguments": {"task": "Call the client to confirm the appointment", "time": "09:00:00"}}, {"name": "smarthome_lights_on", "arguments": {"room": "conference room"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "currency_convert", "description": "Convert an amount from one currency to another using live rates.", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_currency": {"type": "string", "description": "ISO code, e.g. USD"}, "to_currency": {"type": "string", "description": "ISO code, e.g. EUR"}}, "required": ["amount", "from_currency", "to_currency"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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}}}]

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

[User] What’s the dividend yield and quarterly P/E ratio for Tesla (TSLA), and can you convert 500 USD to euros for my upcoming trip?

[Assistant] [{"name": "stock_get_fundamentals", "arguments": {"ticker": "TSLA", "period": "quarterly"}}, {"name": "currency_convert", "arguments": {"amount": 500, "from_currency": "USD", "to_currency": "EUR"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "notes_add", "description": "Create a new note.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "content": {"type": "string"}, "folder": {"type": "string", "default": "General"}}, "required": ["content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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": "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": "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 send a reminder text to my friend about our team meeting scheduled tomorrow at 3 PM while also generating an AI image to illustrate the agenda for the event?"

[Assistant] NO_TOOL


[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": "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": "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": "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": "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": "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": "stock_get_fundamentals", "description": "Get fundamental data like P/E ratio, market cap, and dividend yield.", "parameters": {"type": "object", "properties": {"ticker": {"type": "string"}, "period": {"type": "string", "enum": ["annual", "quarterly"], "default": "quarterly"}}, "required": ["ticker"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}]

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

[User] What are the top 3 business news headlines from the past week, and provide a concise 2-sentence summary of the most recent corporate earnings report for Tesla (NASDAQ:TSLA)?

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "business"}}, {"name": "stock_get_fundamentals", "arguments": {"ticker": "TSLA", "period": "quarterly"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "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_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] How do I find the latest breaking news headlines about technology from the United States today?

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "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": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}]

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

[User] I need help finding a 4-star hotel in Lisbon, Portugal for a 5-night stay from September 15th to September 20th.

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "Lisbon, Portugal", "check_in": "2024-09-15", "check_out": "2024-09-20", "stars": 4}}]


[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": "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": "unit_converter", "description": "Convert values between different units (length, weight, temp).", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_unit": {"type": "string", "description": "e.g., meters, kg, F"}, "to_unit": {"type": "string", "description": "e.g., feet, lbs, C"}}, "required": ["amount", "from_unit", "to_unit"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather_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": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "git_commit", "description": "Simulate a git commit.", "parameters": {"type": "object", "properties": {"message": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}, "default": ["."]}}, "required": ["message"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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] What are the top technology news headlines from the US for this week, and also provide a 5-day weather forecast for New York City?

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}, {"name": "get_weather_forecast", "arguments": {"city": "New York City"}}]


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

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

[User] Find all upcoming conferences in the field of renewable energy scheduled between October 2024 and December 2024 that align with my subscription to IEEE Xplore.

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "slack_post_message", "description": "Post a message to a specific Slack channel.", "parameters": {"type": "object", "properties": {"channel_id": {"type": "string"}, "text": {"type": "string"}, "notify_users": {"type": "boolean", "default": false}}, "required": ["channel_id", "text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_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": "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": "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": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lock_door", "description": "Lock or unlock a smart door.", "parameters": {"type": "object", "properties": {"door_name": {"type": "string", "default": "front_door"}, "action": {"type": "string", "enum": ["lock", "unlock"]}}, "required": ["action"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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}}}]

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

[User] What are the top tech headlines this morning and can you also search for flights from New York (JFK) to Tokyo (HND) for my trip next week, departing on June 15th?

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}, {"name": "travel_flight_search", "arguments": {"origin": "JFK", "destination": "HND", "date": "2024-06-15"}}]


[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": "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": "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": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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}}}]

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 tweets containing the phrase *"AI productivity tools"* from the past week and then analyze how many times these tools are mentioned in relation to *Python* development?

[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": "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": "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": "currency_convert", "description": "Convert an amount from one currency to another using live rates.", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_currency": {"type": "string", "description": "ISO code, e.g. USD"}, "to_currency": {"type": "string", "description": "ISO code, e.g. EUR"}}, "required": ["amount", "from_currency", "to_currency"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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] I need to find the best time for a dinner reservation at a restaurant in my city and check the current weather there before deciding on an outfit. Can you help me reserve a table for 4 people at *Bistro Parisien* around 8 PM and fetch the current weather conditions for [city name]?

[Assistant] [{"name": "restaurant_reserve", "arguments": {"restaurant_name": "Bistro Parisien", "time": "20:00", "party_size": 4}}, {"name": "get_weather", "arguments": {"location": "[city name]"}}]


[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": "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": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "stock_get_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": "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": "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": "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] Find the latest quarterly P/E ratio for Tesla Inc. and then calculate how much you would need to invest today to earn $10,000 in annual dividends if their dividend yield remained constant.

[Assistant] [{"name": "stock_get_fundamentals", "arguments": {"ticker": "TSLA", "period": "quarterly"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_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": "maps_get_directions", "description": "Get driving or walking directions.", "parameters": {"type": "object", "properties": {"start": {"type": "string", "description": "Address or coordinates"}, "end": {"type": "string", "description": "Address or coordinates"}, "mode": {"type": "string", "enum": ["driving", "walking", "transit", "bicycling"], "default": "driving"}}, "required": ["start", "end"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_post_tweet", "description": "Post a tweet to Twitter/X.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "maxLength": 280}, "media_ids": {"type": "array", "items": {"type": "string"}}}, "required": ["text"], "additionalProperties": false}}}]

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

[User] What’s the best wireless noise-canceling headphone under $200, and how can I get step-by-step directions from my current location (near the city’s central mall) to the nearest store that sells it, including walking times?

[Assistant] [{"name": "shopping_search", "arguments": {"product_name": "wireless noise-canceling headphones", "price_min": 0, "price_max": 200}}, {"name": "maps_get_directions", "arguments": {"start": "near city’s central mall", "end": "", "mode": "walking"}}]


[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": "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": "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": "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": "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": "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": "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] Can you check my LinkedIn profile to confirm my latest job title and then set a reminder to follow up with them next week?

[Assistant] [{"name": "social_get_profile", "arguments": {"username": "your_linkedin_username_or_profile_url", "platform": "linkedin"}}, {"name": "reminder_create", "arguments": {"task": "Follow up with [Profile Name] about your latest job title", "time": "next week"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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": "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": "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}}}]

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

[User] "I’m planning a short trip to Lisbon in mid-July, but I need to block off time for daily workouts and log my activity. Could you first check for 3-star hotels available for July 15–18? Then, after selecting one, help me schedule a 30-minute yoga session each morning at 7 AM and log each session afterward with an estimated 200 calories burned?"

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "Lisbon", "check_in": "2024-07-15", "check_out": "2024-07-18", "stars": 3}}]


[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": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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] "I need a 3-day weather forecast for Paris, including daily highs and lows in Fahrenheit."

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "social_post_tweet", "description": "Post a tweet to Twitter/X.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "maxLength": 280}, "media_ids": {"type": "array", "items": {"type": "string"}}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "music_play", "description": "Play a song or playlist on a connected device.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Song name or artist"}, "service": {"type": "string", "enum": ["spotify", "apple_music"], "default": "spotify"}}, "required": ["query"], "additionalProperties": false}}}, {"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": "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] How can I find out the average global temperature trends over the past 50 years based on NASA’s scientific datasets?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "get_weather_forecast", "description": "Get a 5-day weather forecast.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "days": {"type": "integer", "maximum": 10, "default": 5}}, "required": ["city"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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] How much does Tesla’s stock (TSLA) currently cost, and what’s the latest trading volume?

[Assistant] [{"name": "stock_get_price", "arguments": {"ticker": "TSLA"}}, {"name": "web_search", "arguments": {"query": "Tesla TSLA latest trading volume"}}]


[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": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "unit_converter", "description": "Convert values between different units (length, weight, temp).", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_unit": {"type": "string", "description": "e.g., meters, kg, F"}, "to_unit": {"type": "string", "description": "e.g., feet, lbs, C"}}, "required": ["amount", "from_unit", "to_unit"], "additionalProperties": false}}}]

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

[User] I need to find the best flight options from New York (JFK) to Paris (CDG) for my trip next Friday, and also check the current price of 1 Bitcoin in USD—so I can budget accordingly.

[Assistant] [{"name": "travel_flight_search", "arguments": {"origin": "JFK", "destination": "CDG", "date": "2023-11-10"}}, {"name": "crypto_get_price", "arguments": {"coin_id": "bitcoin"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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}}}, {"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": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}]

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

[User] "How do I prepare for my upcoming presentation on sustainable energy solutions, and can you book me a rideshare to the library afterward to pick up the final copies?"

[Assistant] [{"name": "web_search", "arguments": {"query": "tips for preparing a presentation on sustainable energy solutions"}}, {"name": "ride_book", "arguments": {"pickup_location": "current location", "dropoff_location": "library near me"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "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": "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": "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": "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": "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": "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 draft a meeting summary email for my team based on yesterday’s calendar event and then add the key discussion points as a note in the "Projects" folder before sending?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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": "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] "I need to check the current price of AMD stock (AMD) and then convert that price from USD to EUR for a quick budget comparison. Also, can you play my favorite song 'Blinding Lights' by The Weeknd on Spotify in the background?"

[Assistant] [{"name": "stock_get_price", "arguments": {"ticker": "AMD"}}, {"name": "unit_converter", "arguments": {"amount": 0, "from_unit": "USD", "to_unit": "EUR"}}, {"name": "music_play", "arguments": {"query": "Blinding Lights by The Weeknd", "service": "spotify"}}]