[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "currency_convert", "description": "Convert an amount from one currency to another using live rates.", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_currency": {"type": "string", "description": "ISO code, e.g. USD"}, "to_currency": {"type": "string", "description": "ISO code, e.g. EUR"}}, "required": ["amount", "from_currency", "to_currency"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "health_log_workout", "description": "Log a workout session.", "parameters": {"type": "object", "properties": {"activity_type": {"type": "string", "enum": ["run", "cycle", "swim", "weights"]}, "duration_minutes": {"type": "integer"}, "calories_burned": {"type": "integer"}}, "required": ["activity_type", "duration_minutes"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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_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": "file_read", "description": "Read content of a local file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "encoding": {"type": "string", "default": "utf-8"}}, "required": ["filepath"], "additionalProperties": false}}}]

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

[User] What’s my daily workout plan for tomorrow, and could you also convert the estimated calorie burn into euros based on the current exchange rate? I plan to go for a 60-minute run.

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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": "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_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}}}]

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

[User] How can I help you summarize an important business report in Spanish and then email the summary to your colleague at marketing@company.com?

[Assistant] [{"name": "text_summarize", "arguments": {"text": "", "length": "medium"}}, {"name": "translate_text", "arguments": {"text": "", "target_lang": "es"}}, {"name": "file_write", "arguments": {"filepath": "summary_es.txt", "content": "", "overwrite": true}}]


[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": "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": "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": "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": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "notes_add", "description": "Create a new note.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "content": {"type": "string"}, "folder": {"type": "string", "default": "General"}}, "required": ["content"], "additionalProperties": false}}}]

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

[User] How do I determine the most energy-efficient HVAC system for a 5,000 sq ft historic farmhouse with original wood paneling in a region that experiences 9 months of sub-zero winters and 2 short months of scorching summer heat?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "sms_send", "description": "Send a text message.", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string"}, "message": {"type": "string"}}, "required": ["phone_number", "message"], "additionalProperties": false}}}, {"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 check the latest headlines on a specific topic in technology and also get the current weather for a nearby city, so I can decide if I should stay indoors to read about it or go out to experience it.

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}, {"name": "get_weather", "arguments": {"location": "nearby city"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}]

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

[User] Turn on the bedroom lights at 70% brightness in a warm golden tone to set a cozy ambiance for my evening read.

[Assistant] [{"name": "smarthome_lights_on", "arguments": {"room": "bedroom", "brightness": 70, "color": "warm golden"}}]


[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": "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": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "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": "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": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}]

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

[User] How can I find and translate a recent blog post about renewable energy trends from last year, then schedule a team meeting to discuss its key points with my colleagues at their email addresses (john@company.com, sarah@company.com, and michael@company.com)?

[Assistant] [{"name": "web_search", "arguments": {"query": "recent blog posts about renewable energy trends 2023", "num_results": 1}}, {"name": "translate_text", "arguments": {"text": "", "target_lang": "en"}}, {"name": "calendar_add_event", "arguments": {"title": "Discussion: Renewable Energy Trends 2023", "start_time": "", "end_time": "", "attendees": ["john@company.com", "sarah@company.com", "michael@company.com"]}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_set_thermostat", "description": "Set the target temperature for the HVAC.", "parameters": {"type": "object", "properties": {"temperature": {"type": "number"}, "mode": {"type": "string", "enum": ["cool", "heat", "eco", "off"]}}, "required": ["temperature", "mode"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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 send me a text message to my friend at +1-555-123-4567 asking them to meet me at the café at 7 PM for dinner tomorrow?"

[Assistant] [{"name": "sms_send", "arguments": {"phone_number": "+1-555-123-4567", "message": "Hey! Can we meet at the café for dinner tomorrow at 7 PM?"}}]


[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": "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": "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": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_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": "web_search", "description": "Perform a general Google search for internet queries.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The search keywords."}, "num_results": {"type": "integer", "default": 5}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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] What are the key topics covered in the first three sentences of the Wikipedia page for "Machine Learning in Healthcare"?

[Assistant] [{"name": "wikipedia_search", "arguments": {"title": "Machine Learning in Healthcare", "sentences": 3}}]


[System]
You are a helpful assistant with access to the following tools:
[{"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": "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": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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}}}]

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

[User] Can you provide me with the current price of Bitcoin in EUR?

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


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "travel_hotel_search", "description": "Find hotels in a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "check_in": {"type": "string"}, "check_out": {"type": "string"}, "stars": {"type": "integer", "minimum": 1, "maximum": 5}}, "required": ["city", "check_in", "check_out"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather_forecast", "description": "Get a 5-day weather forecast.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "days": {"type": "integer", "maximum": 10, "default": 5}}, "required": ["city"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_send", "description": "Send an email to a recipient.", "parameters": {"type": "object", "properties": {"to_address": {"type": "string"}, "subject": {"type": "string"}, "body_text": {"type": "string"}, "attachments": {"type": "array", "items": {"type": "string"}}}, "required": ["to_address", "subject", "body_text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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}}}]

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

[User] Can you help me plan a weekend getaway to Barcelona by finding a 4-star hotel for 10th–12th October and then checking the weather forecast for those days? Once I have the hotel details, I’d also like to translate the check-in instructions into Spanish to prepare better.

[Assistant] [{"name": "travel_hotel_search", "arguments": {"city": "Barcelona", "check_in": "2023-10-10", "check_out": "2023-10-12", "stars": 4}}, {"name": "get_weather_forecast", "arguments": {"city": "Barcelona", "days": 3}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "calendar_remove_event", "description": "Delete an event by ID.", "parameters": {"type": "object", "properties": {"event_id": {"type": "string"}, "notify_attendees": {"type": "boolean", "default": true}}, "required": ["event_id"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "currency_convert", "description": "Convert an amount from one currency to another using live rates.", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from_currency": {"type": "string", "description": "ISO code, e.g. USD"}, "to_currency": {"type": "string", "description": "ISO code, e.g. EUR"}}, "required": ["amount", "from_currency", "to_currency"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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] How much is 500 USD worth in euros today?

[Assistant] [{"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": "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": "smarthome_lights_off", "description": "Turn off smart lights.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_lights_on", "description": "Turn on smart lights in a room.", "parameters": {"type": "object", "properties": {"room": {"type": "string"}, "brightness": {"type": "integer", "minimum": 1, "maximum": 100}, "color": {"type": "string", "default": "white"}}, "required": ["room"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "git_commit", "description": "Simulate a git commit.", "parameters": {"type": "object", "properties": {"message": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}, "default": ["."]}}, "required": ["message"], "additionalProperties": false}}}]

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

[User] Can you check the latest technology news headlines from the United States this week?

[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": "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": "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": "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}}}, {"type": "function", "function": {"name": "email_send", "description": "Send an email to a recipient.", "parameters": {"type": "object", "properties": {"to_address": {"type": "string"}, "subject": {"type": "string"}, "body_text": {"type": "string"}, "attachments": {"type": "array", "items": {"type": "string"}}}, "required": ["to_address", "subject", "body_text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ticket_create_support", "description": "Create a support ticket in Jira/Zendesk.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"}, "priority": {"type": "string", "enum": ["low", "medium", "high", "critical"]}}, "required": ["title", "description", "priority"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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] How can I schedule a reservation at my favorite restaurant while also confirming the address via Wikipedia for the most accurate pickup time when the ride arrives?

[Assistant] [{"name": "restaurant_reserve", "arguments": {"restaurant_name": "your favorite restaurant", "time": "your preferred time", "party_size": 1}}, {"name": "wikipedia_search", "arguments": {"title": "your favorite restaurant"}}, {"name": "ride_book", "arguments": {"pickup_location": "your favorite restaurant's address (to be confirmed via Wikipedia)"}}]


[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": "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": "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": "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": "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": "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": "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 generate an image of a futuristic city skyline at night, and then help me schedule a team meeting for tomorrow at 10 AM in the "Project Brainstorm" Slack channel to review the design ideas with the following attendees: alice@example.com, bob@company.org, and charlie@project.net?

[Assistant] [{"name": "image_generate", "arguments": {"prompt": "A futuristic city skyline at night with neon lights, advanced architecture, flying vehicles, and holographic displays", "size": "1024x1024"}}, {"name": "calendar_add_event", "arguments": {"title": "Project Brainstorm - Review Futuristic City Design", "start_time": "2023-11-02T10:00:00Z", "end_time": "2023-11-02T11:00:00Z", "attendees": ["alice@example.com", "bob@company.org", "charlie@project.net"]}}, {"name": "slack_post_message", "arguments": {"channel_id": "Project Brainstorm", "text": "🚀 Tomorrow at 10 AM, let's review the futuristic city design ideas in our meeting. Please come prepared with your thoughts! 🌆✨", "notify_users": true}}]


[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": "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_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": "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": "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": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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] How can I find the best 4-star hotels available in Barcelona for my trip from July 15th to July 22nd, and also send an SMS reminder to my travel agent with the details of the top 2 options?

[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": "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": "email_send", "description": "Send an email to a recipient.", "parameters": {"type": "object", "properties": {"to_address": {"type": "string"}, "subject": {"type": "string"}, "body_text": {"type": "string"}, "attachments": {"type": "array", "items": {"type": "string"}}}, "required": ["to_address", "subject", "body_text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "todo_add_item", "description": "Add an item to a todo list.", "parameters": {"type": "object", "properties": {"item": {"type": "string"}, "list_name": {"type": "string", "default": "Inbox"}}, "required": ["item"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "health_log_workout", "description": "Log a workout session.", "parameters": {"type": "object", "properties": {"activity_type": {"type": "string", "enum": ["run", "cycle", "swim", "weights"]}, "duration_minutes": {"type": "integer"}, "calories_burned": {"type": "integer"}}, "required": ["activity_type", "duration_minutes"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_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": "slack_post_message", "description": "Post a message to a specific Slack channel.", "parameters": {"type": "object", "properties": {"channel_id": {"type": "string"}, "text": {"type": "string"}, "notify_users": {"type": "boolean", "default": false}}, "required": ["channel_id", "text"], "additionalProperties": false}}}]

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

[User] I need detailed medical advice and prescription recommendations for treating chronic migraines, including specific drug dosages and alternative remedies. Can you provide guidance on how to manage symptoms effectively?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "smarthome_lock_door", "description": "Lock or unlock a smart door.", "parameters": {"type": "object", "properties": {"door_name": {"type": "string", "default": "front_door"}, "action": {"type": "string", "enum": ["lock", "unlock"]}}, "required": ["action"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_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": "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": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "email_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}}}]

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

[User] "Can you explain in detail the historical context and political implications behind the 1947 Partition of India, including personal accounts from individuals who lived through the events?"

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "translate_text", "description": "Translate text from one language to another.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target_lang": {"type": "string", "description": "ISO 2-letter code, e.g. es, fr"}}, "required": ["text", "target_lang"], "additionalProperties": false}}}]

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

[User] "I need the latest headlines about AI advancements in technology from the US and a summary of a recent report on quantum computing progress, then translate the key takeaways into Spanish."

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}, {"name": "text_summarize", "arguments": {"text": "", "length": "medium"}}, {"name": "translate_text", "arguments": {"text": "", "target_lang": "es"}}]


[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": "email_search", "description": "Search for emails in the inbox.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "Keywords or sender name."}, "max_results": {"type": "integer", "default": 10}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "file_read", "description": "Read content of a local file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "encoding": {"type": "string", "default": "utf-8"}}, "required": ["filepath"], "additionalProperties": false}}}, {"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": "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": "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": "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": "maps_get_directions", "description": "Get driving or walking directions.", "parameters": {"type": "object", "properties": {"start": {"type": "string", "description": "Address or coordinates"}, "end": {"type": "string", "description": "Address or coordinates"}, "mode": {"type": "string", "enum": ["driving", "walking", "transit", "bicycling"], "default": "driving"}}, "required": ["start", "end"], "additionalProperties": false}}}]

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

[User] What emails did I receive from "project-archive@company.com" in the last 30 days, and could you also check my calendar for any scheduled meetings or calls with the sender during that period?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "social_post_tweet", "description": "Post a tweet to Twitter/X.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "maxLength": 280}, "media_ids": {"type": "array", "items": {"type": "string"}}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "file_write", "description": "Write text to a file.", "parameters": {"type": "object", "properties": {"filepath": {"type": "string"}, "content": {"type": "string"}, "overwrite": {"type": "boolean", "default": false}}, "required": ["filepath", "content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "slack_post_message", "description": "Post a message to a specific Slack channel.", "parameters": {"type": "object", "properties": {"channel_id": {"type": "string"}, "text": {"type": "string"}, "notify_users": {"type": "boolean", "default": false}}, "required": ["channel_id", "text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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’s the latest headline on today’s biggest technology breakthroughs, and could you book a table at *Tech Bistro* in my name for 6 PM tomorrow for a group of four? I’d also like you to send a text reminder to my contact (555-123-4567) an hour before the reservation.

[Assistant] [{"name": "news_get_headlines", "arguments": {"category": "technology", "country": "us"}}, {"name": "restaurant_reserve", "arguments": {"restaurant_name": "Tech Bistro", "time": "18:00", "party_size": 4}}, {"name": "sms_send", "arguments": {"phone_number": "555-123-4567", "message": "Reminder: Your reservation at Tech Bistro for 6 PM tomorrow with a group of four."}}]


[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": "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": "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": "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": "reminder_create", "description": "Set a reminder.", "parameters": {"type": "object", "properties": {"task": {"type": "string"}, "time": {"type": "string", "description": "Time to be reminded"}}, "required": ["task", "time"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}]

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

[User] "What are the historical and cultural origins of the ancient Maya civilization, including their architectural achievements like the pyramids at Chichén Itzá, and how did their writing system contribute to modern-day linguistics?"

[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": "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": "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": "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": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "shopping_search", "description": "Search for products on e-commerce sites.", "parameters": {"type": "object", "properties": {"product_name": {"type": "string"}, "price_min": {"type": "number"}, "price_max": {"type": "number"}}, "required": ["product_name"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_add_event", "description": "Schedule a new event on the calendar.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "start_time": {"type": "string", "description": "ISO 8601 format"}, "end_time": {"type": "string", "description": "ISO 8601 format"}, "attendees": {"type": "array", "items": {"type": "string"}, "description": "List of email addresses"}}, "required": ["title", "start_time", "end_time"], "additionalProperties": false}}}]

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

[User] What are the top 3 most recent business news headlines from the United States?

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


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

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

[User] I need a detailed breakdown of the political history and economic policies that influenced the construction of major infrastructure projects in medieval Japan, including primary sources and expert interpretations.

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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_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": "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": "restaurant_reserve", "description": "Book a table at a restaurant.", "parameters": {"type": "object", "properties": {"restaurant_name": {"type": "string"}, "time": {"type": "string"}, "party_size": {"type": "integer"}}, "required": ["restaurant_name", "time", "party_size"], "additionalProperties": false}}}]

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

[User] I need to book a flight from New York (JFK) to Tokyo (NRT) on November 10, 2024, for two people and check the latest business news headlines for Japan to plan my trip better.

[Assistant] [{"name": "travel_flight_search", "arguments": {"origin": "JFK", "destination": "NRT", "date": "2024-11-10", "passengers": 2}}, {"name": "news_get_headlines", "arguments": {"category": "business", "country": "jp"}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "wikipedia_search", "description": "Get a summary of a Wikipedia article.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "sentences": {"type": "integer", "default": 3}}, "required": ["title"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "notes_add", "description": "Create a new note.", "parameters": {"type": "object", "properties": {"title": {"type": "string"}, "content": {"type": "string"}, "folder": {"type": "string", "default": "General"}}, "required": ["content"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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] Can you look up the latest news about the upcoming 2025 Tour de France stages and summarize the key highlights into a concise overview while also searching for high-performance cycling tires currently available between $50 and $150?

[Assistant] [{"name": "wikipedia_search", "arguments": {"title": "2025 Tour de France stages"}}, {"name": "shopping_search", "arguments": {"product_name": "high-performance cycling tires", "price_min": 50, "price_max": 150}}]


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "news_get_headlines", "description": "Get top news headlines.", "parameters": {"type": "object", "properties": {"category": {"type": "string", "enum": ["business", "technology", "sports", "general"]}, "country": {"type": "string", "default": "us"}}, "required": ["category"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "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": "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": "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": "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": "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] What are the cheapest round-trip flights from New York (JFK) to London (LHR) for my team of 4 leaving in the next 10 days, and can I schedule a meeting for the same travel dates with my UK team—specifically from 3:00 PM to 5:00 PM (UTC)?

[Assistant] NO_TOOL


[System]
You are a helpful assistant with access to the following tools:
[{"type": "function", "function": {"name": "health_log_workout", "description": "Log a workout session.", "parameters": {"type": "object", "properties": {"activity_type": {"type": "string", "enum": ["run", "cycle", "swim", "weights"]}, "duration_minutes": {"type": "integer"}, "calories_burned": {"type": "integer"}}, "required": ["activity_type", "duration_minutes"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "smarthome_set_thermostat", "description": "Set the target temperature for the HVAC.", "parameters": {"type": "object", "properties": {"temperature": {"type": "number"}, "mode": {"type": "string", "enum": ["cool", "heat", "eco", "off"]}}, "required": ["temperature", "mode"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_current_datetime", "description": "Get the current date and time for a specific timezone.", "parameters": {"type": "object", "properties": {"timezone": {"type": "string", "default": "UTC"}}, "required": [], "additionalProperties": false}}}, {"type": "function", "function": {"name": "text_summarize", "description": "Summarize a long piece of text.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "length": {"type": "string", "enum": ["short", "medium", "long"]}}, "required": ["text"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "calendar_list_events", "description": "List events for a specific date range.", "parameters": {"type": "object", "properties": {"date": {"type": "string", "description": "YYYY-MM-DD"}, "calendar_id": {"type": "string", "default": "primary"}}, "required": ["date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "ride_book", "description": "Book a rideshare (Uber/Lyft).", "parameters": {"type": "object", "properties": {"pickup_location": {"type": "string"}, "dropoff_location": {"type": "string"}, "ride_type": {"type": "string", "enum": ["standard", "premium", "pool"]}}, "required": ["pickup_location", "dropoff_location"], "additionalProperties": false}}}, {"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 first check the current weather in my city (using the city name) and then help me calculate how much 100 USD would be in EUR?

[Assistant] [{"name": "get_weather", "arguments": {"location": "your_city"}}, {"name": "currency_convert", "arguments": {"amount": 100, "from_currency": "USD", "to_currency": "EUR"}}]


[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": "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": "db_sql_query", "description": "Run a read-only SQL query.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "SELECT statement only."}, "database": {"type": "string", "default": "main_db"}}, "required": ["query"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "social_get_profile", "description": "Get public profile details of a user.", "parameters": {"type": "object", "properties": {"username": {"type": "string"}, "platform": {"type": "string", "enum": ["twitter", "instagram", "linkedin"]}}, "required": ["username", "platform"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "sms_send", "description": "Send a text message.", "parameters": {"type": "object", "properties": {"phone_number": {"type": "string"}, "message": {"type": "string"}}, "required": ["phone_number", "message"], "additionalProperties": false}}}, {"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": "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_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}}}]

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

[User] What are the best available return flight options to Paris (CDG) for October 22, 2024, and could you also provide the current market price of Bitcoin in USD for comparison with my travel budget planning?

[Assistant] NO_TOOL


[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": "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": "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": "travel_flight_search", "description": "Search for flights.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "Airport code, e.g. JFK"}, "destination": {"type": "string", "description": "Airport code, e.g. LHR"}, "date": {"type": "string"}, "passengers": {"type": "integer", "default": 1}}, "required": ["origin", "destination", "date"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather conditions for a specific location.", "parameters": {"type": "object", "properties": {"location": {"type": "string", "description": "City name or zip code."}, "units": {"type": "string", "enum": ["celsius", "fahrenheit"], "default": "celsius"}}, "required": ["location"], "additionalProperties": false}}}, {"type": "function", "function": {"name": "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": "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": "shopping_cart_add", "description": "Add a specific item to the shopping cart.", "parameters": {"type": "object", "properties": {"item_id": {"type": "string"}, "quantity": {"type": "integer", "default": 1}}, "required": ["item_id"], "additionalProperties": false}}}]

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

[User] What are the most popular travel destinations from London this summer, along with their current average temperature forecasts, and how can I find the cheapest flights for each?

[Assistant] NO_TOOL