Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
32
76
prompt
stringlengths
27
186
expected_tool
stringclasses
7 values
difficulty
stringclasses
3 values
agent_type
stringclasses
2 values
expected_keywords
listlengths
2
6
food-delivery_search_restaurants_batch0_0
Find Italian restaurants near me that deliver.
search_restaurants
easy
tool
[ "Italian", "restaurants", "delivery" ]
food-delivery_view_menu_batch0_1
Show me the menu for 'Pizza Palace'.
view_menu
easy
tool
[ "menu", "Pizza Palace" ]
food-delivery_place_order_batch0_2
Order a large pepperoni pizza from 'Tony's Pizzeria' for delivery.
place_order
easy
tool
[ "pepperoni pizza", "Tony's Pizzeria", "order" ]
food-delivery_track_delivery_batch0_3
Where is my order from 'Sushi Express'?
track_delivery
easy
tool
[ "track", "Sushi Express", "order" ]
food-delivery_apply_promo_batch0_4
Apply the promo code 'SAVE10' to my current order.
apply_promo
easy
tool
[ "promo code", "SAVE10", "apply" ]
food-delivery_rate_restaurant_batch0_5
Rate 'Burger Barn' 5 stars for their excellent service.
rate_restaurant
easy
tool
[ "Burger Barn", "5 stars", "rate" ]
food-delivery_contact_driver_batch0_6
Contact the driver delivering my order from 'Thai Delight'.
contact_driver
easy
tool
[ "contact driver", "Thai Delight" ]
food-delivery_search_restaurants_batch0_7
Find vegan restaurants that are open now and offer delivery.
search_restaurants
easy
tool
[ "vegan", "restaurants", "delivery", "open now" ]
food-delivery_view_menu_place_order_batch0_8
I want to see the menu for 'Curry House' and then order the Chicken Tikka Masala.
view_menu
medium
tool
[ "menu", "Curry House", "Chicken Tikka Masala", "order" ]
food-delivery_search_restaurants_apply_promo_batch0_9
Find pizza places nearby and apply a '20% OFF' coupon if available.
search_restaurants
medium
tool
[ "pizza", "restaurants", "20% OFF", "coupon" ]
food-delivery_place_order_track_delivery_batch0_10
Order a combo meal from 'Fast Food Frenzy' and tell me when it's on its way.
place_order
medium
tool
[ "combo meal", "Fast Food Frenzy", "order", "track" ]
food-delivery_search_restaurants_view_menu_batch0_11
Search for Mexican restaurants and then view the menu for the top-rated one.
search_restaurants
medium
tool
[ "Mexican", "restaurants", "menu", "top-rated" ]
food-delivery_place_order_apply_promo_batch0_12
Order a vegetarian pasta from 'Pasta Paradise' and use the code 'VEGGIE15'.
place_order
medium
tool
[ "vegetarian pasta", "Pasta Paradise", "VEGGIE15", "order" ]
food-delivery_rate_restaurant_contact_driver_batch0_13
I had a great experience with my order from 'Cafe Mocha'. Rate them 5 stars and leave a comment about the friendly driver.
rate_restaurant
medium
tool
[ "Cafe Mocha", "5 stars", "rate", "friendly driver" ]
food-delivery_search_restaurants_code_batch0_14
Find restaurants that serve sushi and are within a 5-mile radius.
search_restaurants
easy
code
[ "sushi", "restaurants", "5-mile radius" ]
food-delivery_place_order_code_batch0_15
Place an order for two burgers and fries from 'Burger Joint'.
place_order
easy
code
[ "two burgers", "fries", "Burger Joint", "order" ]
food-delivery_search_restaurants_view_menu_place_order_code_batch0_16
Find Indian restaurants, view the menu of the first one, and then order a Chicken Korma.
search_restaurants
hard
code
[ "Indian", "restaurants", "menu", "Chicken Korma", "order" ]
food-delivery_place_order_apply_promo_track_delivery_code_batch0_17
Order a large Margherita pizza from 'Pizza Heaven', apply the 'SUMMER25' discount, and then track the delivery.
place_order
hard
code
[ "Margherita pizza", "Pizza Heaven", "SUMMER25", "track", "order" ]
food-delivery_search_restaurants_handle_no_results_code_batch0_18
Search for Ethiopian restaurants in my area. If none are found, suggest Thai restaurants instead.
search_restaurants
hard
code
[ "Ethiopian", "Thai", "restaurants", "no results" ]
food-delivery_place_order_apply_promo_error_handling_code_batch0_19
Order a single scoop of vanilla ice cream from 'Sweet Treats'. If the promo code 'ICECOLD' is invalid, proceed with the order without it.
place_order
hard
code
[ "vanilla ice cream", "Sweet Treats", "ICECOLD", "invalid promo" ]
food-delivery_search_restaurants_batch1_1
Find me a pizza restaurant near my current location.
search_restaurants
easy
tool
[ "pizza", "restaurants" ]
food-delivery_view_menu_batch1_2
Show me the menu for 'The Italian Place'.
view_menu
easy
tool
[ "menu", "The Italian Place" ]
food-delivery_place_order_batch1_3
I want to order a Margherita pizza and a Caesar salad from 'Pizza Palace'.
place_order
easy
tool
[ "Margherita pizza", "Caesar salad", "Pizza Palace" ]
food-delivery_track_delivery_batch1_4
Where is my order from 'Burger Barn'?
track_delivery
easy
tool
[ "track", "delivery", "Burger Barn" ]
food-delivery_apply_promo_batch1_5
Apply the promo code 'SUMMER20' to my current order.
apply_promo
easy
tool
[ "SUMMER20", "promo code" ]
food-delivery_rate_restaurant_batch1_6
I want to rate 'Sushi Express' 5 stars.
rate_restaurant
easy
tool
[ "rate", "Sushi Express", "5 stars" ]
food-delivery_contact_driver_batch1_7
Contact the driver delivering my order from 'Taco Town'.
contact_driver
easy
tool
[ "contact", "driver", "Taco Town" ]
food-delivery_search_restaurants_batch1_8
Find me restaurants that serve vegan food and are open late.
search_restaurants
easy
code
[ "vegan", "late", "restaurants" ]
food-delivery_view_menu_place_order_batch1_9
First, show me the menu for 'Curry House'. Then, I want to order the Chicken Tikka Masala and Garlic Naan.
view_menu
medium
tool
[ "menu", "Curry House", "Chicken Tikka Masala", "Garlic Naan" ]
food-delivery_search_restaurants_apply_promo_batch1_10
Find me a cheap Thai restaurant. If there are any deals available, apply the best one to my order.
search_restaurants
medium
tool
[ "Thai", "cheap", "deals", "apply" ]
food-delivery_place_order_track_delivery_batch1_11
Order a large pepperoni pizza from 'Pizza Planet'. After placing the order, track its delivery status.
place_order
medium
tool
[ "pepperoni pizza", "Pizza Planet", "track", "delivery" ]
food-delivery_search_restaurants_view_menu_batch1_12
I'm craving sushi. Search for sushi restaurants nearby and then show me the menu for the top-rated one.
search_restaurants
medium
code
[ "sushi", "restaurants", "menu", "top-rated" ]
food-delivery_place_order_with_customization_batch1_13
Order a custom burger from 'Grill Master'. I want it with extra pickles, no onions, and cheddar cheese.
place_order
medium
tool
[ "custom burger", "extra pickles", "no onions", "Grill Master" ]
food-delivery_apply_promo_then_place_order_batch1_14
I have a 15% off coupon for 'Pasta Paradise'. Apply it first, then order a lasagna.
apply_promo
medium
code
[ "15% off", "Pasta Paradise", "lasagna", "apply" ]
food-delivery_rate_and_contact_driver_batch1_15
My delivery from 'Pho King' was excellent. Rate it 5 stars and then send a thank you message to the driver.
rate_restaurant
medium
tool
[ "rate", "5 stars", "Pho King", "thank you", "driver" ]
food-delivery_search_restaurants_with_filters_code_batch1_16
Find me Italian restaurants that have outdoor seating and are within a 5-mile radius. I also want to see their average rating.
search_restaurants
medium
code
[ "Italian", "outdoor seating", "5-mile radius", "average rating" ]
food-delivery_complex_order_and_tracking_batch1_17
Order a vegetarian curry and a side of naan bread from 'Spice Route'. Then, track the delivery and if it's taking longer than 45 minutes, contact the driver to check the status.
place_order
hard
code
[ "vegetarian curry", "naan bread", "Spice Route", "track", "contact driver", "45 minutes" ]
food-delivery_handle_no_promo_then_order_batch1_18
I want to order a 'Big Mac' meal from 'McDonald's'. Try to apply a 'NEWCUSTOMER' promo code. If it doesn't work, proceed with the order anyway.
apply_promo
hard
code
[ "Big Mac", "McDonald's", "NEWCUSTOMER", "promo code", "order" ]
food-delivery_error_handling_missing_restaurant_batch1_19
I want to order from 'The Secret Garden Cafe', but I'm not sure if it exists. First, search for it. If it's found, view its menu. If not, suggest alternative cafes.
search_restaurants
hard
code
[ "The Secret Garden Cafe", "search", "menu", "alternative" ]
food-delivery_multi_step_rating_and_feedback_batch1_20
After my order from 'Global Bites' arrives, I want to rate the food 4 stars and the delivery driver 5 stars. Also, leave a comment for the driver saying 'Thanks for the quick delivery!'.
rate_restaurant
hard
code
[ "Global Bites", "food rating", "driver rating", "comment", "quick delivery" ]
food-delivery_search_restaurants_batch2_1
Find Italian restaurants near me that are open now.
search_restaurants
easy
tool
[ "Italian", "restaurants", "open" ]
food-delivery_view_menu_batch2_2
Show me the menu for 'Pizza Palace'.
view_menu
easy
tool
[ "menu", "Pizza Palace" ]
food-delivery_place_order_batch2_3
Order a Margherita pizza from 'Mama Mia's Pizzeria'.
place_order
easy
tool
[ "order", "Margherita pizza", "Mama Mia's Pizzeria" ]
food-delivery_track_delivery_batch2_4
Where is my order from 'Burger Barn'?
track_delivery
easy
tool
[ "track", "delivery", "Burger Barn" ]
food-delivery_apply_promo_batch2_5
Apply the promo code 'SAVE10' to my current order.
apply_promo
easy
tool
[ "apply", "promo code", "SAVE10" ]
food-delivery_rate_restaurant_batch2_6
Rate 'Sushi Samurai' 5 stars.
rate_restaurant
easy
tool
[ "rate", "Sushi Samurai", "5 stars" ]
food-delivery_contact_driver_batch2_7
Contact the driver delivering my order from 'Taco Town'.
contact_driver
easy
tool
[ "contact", "driver", "Taco Town" ]
food-delivery_search_restaurants_batch2_8
I'm craving some vegan food. Show me restaurants that offer vegan options.
search_restaurants
easy
tool
[ "vegan", "restaurants", "options" ]
food-delivery_view_menu_and_order_batch2_9
Check the menu for 'The Curry House' and order a Chicken Tikka Masala.
view_menu
medium
code
[ "menu", "order", "Chicken Tikka Masala", "The Curry House" ]
food-delivery_search_and_place_order_batch2_10
Find a highly-rated Thai restaurant and order Pad See Ew.
search_restaurants
medium
code
[ "Thai restaurant", "Pad See Ew", "highly-rated" ]
food-delivery_apply_promo_and_track_batch2_11
Apply the discount code 'FREESHIP' and then track my order from 'Deli Delights'.
apply_promo
medium
code
[ "apply", "FREESHIP", "track", "Deli Delights" ]
food-delivery_rate_and_contact_batch2_12
The food from 'Spice Route' was great, rate it 5 stars. Also, tell the driver I'll be at the back door.
rate_restaurant
medium
code
[ "rate", "5 stars", "contact driver", "back door" ]
food-delivery_complex_order_batch2_13
I want to order a large pepperoni pizza and a small cheese pizza from 'Pizza Planet'. Also, add a side of garlic knots. Make sure to apply the 'PIZZA15' discount if it's still valid.
view_menu
medium
code
[ "pepperoni pizza", "cheese pizza", "garlic knots", "PIZZA15" ]
food-delivery_conditional_search_batch2_14
Search for Mexican restaurants. If there are no results, look for Tex-Mex.
search_restaurants
medium
code
[ "Mexican", "Tex-Mex", "search" ]
food-delivery_search_by_cuisine_and_price_batch2_15
Find a cheap sushi restaurant in my area.
search_restaurants
medium
tool
[ "sushi", "cheap", "restaurants" ]
food-delivery_order_multiple_items_batch2_16
From 'The Noodle House', order Pad Thai and spring rolls.
view_menu
medium
code
[ "Pad Thai", "spring rolls", "The Noodle House" ]
food-delivery_handle_unavailable_item_batch2_17
Try to order a 'Spicy Tuna Roll' from 'Sakura Sushi'. If it's unavailable, order a California Roll instead.
view_menu
hard
code
[ "Spicy Tuna Roll", "California Roll", "unavailable" ]
food-delivery_complex_promo_and_order_batch2_18
I have a '20% off' coupon for orders over $50. Find a steakhouse, order a ribeye steak, and apply the coupon if the total meets the requirement.
search_restaurants
hard
code
[ "steakhouse", "ribeye steak", "20% off", "over $50" ]
food-delivery_error_handling_track_batch2_19
Track my order. If the order cannot be found, apologize and ask for the order ID.
track_delivery
hard
code
[ "track", "order ID", "not found" ]
food-delivery_multi_tool_complex_search_batch2_20
Find restaurants that serve burgers. Then, view the menu of the one with the highest rating and order a classic cheeseburger. Finally, apply a promo code 'BURGERLOVE' if available.
search_restaurants
hard
code
[ "burgers", "cheeseburger", "highest rating", "BURGERLOVE" ]
food-delivery_search_restaurants_batch3_1
Find me Italian restaurants near my current location.
search_restaurants
easy
tool
[ "Italian", "restaurants", "nearby" ]
food-delivery_view_menu_batch3_2
Show me the menu for 'Pizza Palace'.
view_menu
easy
tool
[ "menu", "Pizza Palace" ]
food-delivery_place_order_batch3_3
I want to order a Margherita pizza from 'Pizza Palace'.
place_order
easy
tool
[ "order", "Margherita pizza", "Pizza Palace" ]
food-delivery_track_delivery_batch3_4
Where is my order from 'Sushi Express'?
track_delivery
easy
tool
[ "track", "delivery", "Sushi Express" ]
food-delivery_apply_promo_batch3_5
Apply the 'SAVE10' discount to my current order.
apply_promo
easy
tool
[ "apply", "promo", "SAVE10" ]
food-delivery_rate_restaurant_batch3_6
Rate 'Burger Joint' 5 stars.
rate_restaurant
easy
tool
[ "rate", "Burger Joint", "5 stars" ]
food-delivery_contact_driver_batch3_7
Contact my delivery driver regarding my order from 'Taco Town'.
contact_driver
easy
tool
[ "contact", "driver", "Taco Town" ]
food-delivery_search_restaurants_batch3_8
Find vegetarian options available for delivery.
search_restaurants
easy
code
[ "search", "vegetarian", "delivery" ]
food-delivery_view_menu_place_order_batch3_9
Show me the menu for 'Thai Delight' and then order the Pad Thai.
view_menu
medium
tool
[ "menu", "Thai Delight", "order", "Pad Thai" ]
food-delivery_search_restaurants_apply_promo_batch3_10
Find Chinese restaurants and apply a 'CHINAFEST' promo if available.
search_restaurants
medium
code
[ "search", "Chinese restaurants", "apply promo", "CHINAFEST" ]
food-delivery_place_order_track_delivery_batch3_11
Order a large pepperoni pizza from 'Pizza Hut' and then track its delivery.
place_order
medium
tool
[ "order", "pepperoni pizza", "Pizza Hut", "track delivery" ]
food-delivery_view_menu_rate_restaurant_batch3_12
View the menu for 'Indian Spice' and then rate it 4 stars.
view_menu
medium
code
[ "menu", "Indian Spice", "rate", "4 stars" ]
food-delivery_search_restaurants_complex_filter_batch3_13
Find restaurants that serve sushi and are open late tonight.
search_restaurants
medium
code
[ "search", "sushi", "open late" ]
food-delivery_place_order_conditional_promo_batch3_14
Order a combo meal from 'KFC'. If the total is over $20, apply the 'BIGMEAL' promo.
place_order
medium
code
[ "order", "combo meal", "KFC", "promo", "BIGMEAL" ]
food-delivery_track_delivery_contact_driver_batch3_15
Track my current order and if it's delayed, contact the driver.
track_delivery
medium
tool
[ "track", "delivery", "contact driver", "delayed" ]
food-delivery_search_restaurants_view_menu_place_order_batch3_16
Find cafes, view the menu for 'The Coffee Bean', and order a latte.
search_restaurants
medium
code
[ "search", "cafes", "menu", "The Coffee Bean", "order", "latte" ]
food-delivery_place_order_error_handling_batch3_17
Try to order 'Mystery Dish' from 'Restaurant XYZ' which is currently closed. Handle the error gracefully.
place_order
hard
code
[ "order", "Restaurant XYZ", "closed", "error handling" ]
food-delivery_search_restaurants_view_menu_apply_promo_complex_batch3_18
Find Italian restaurants, view the menu for 'Pasta House', and if the total exceeds $30, apply a 'PASTAJOY' discount.
search_restaurants
hard
code
[ "search", "Italian restaurants", "view menu", "Pasta House", "apply promo", "PASTAJOY" ]
food-delivery_track_delivery_contact_driver_complex_batch3_19
Track my order from 'Global Eats'. If the driver is more than 10 minutes away from the estimated arrival time, send them a message asking for an update.
track_delivery
hard
code
[ "track", "order", "Global Eats", "contact driver", "delayed", "update" ]
food-delivery_rate_restaurant_multiple_items_batch3_20
I ordered Pad Thai, spring rolls, and a Thai iced tea from 'Thai Spice'. Rate my experience 5 stars and mention the spring rolls were excellent.
rate_restaurant
hard
tool
[ "rate", "Thai Spice", "5 stars", "spring rolls", "excellent" ]
food-delivery_search_restaurants_batch4_1
Find Italian restaurants near me.
search_restaurants
easy
tool
[ "Italian", "restaurants", "near me" ]
food-delivery_view_menu_batch4_2
Show me the menu for 'Pizza Palace'.
view_menu
easy
tool
[ "menu", "Pizza Palace" ]
food-delivery_place_order_batch4_3
Order a large pepperoni pizza from 'Tony's Pizza' for delivery.
place_order
easy
tool
[ "pepperoni pizza", "Tony's Pizza", "order" ]
food-delivery_track_delivery_batch4_4
Where is my order from 'Sushi Express'?
track_delivery
easy
tool
[ "track", "Sushi Express", "order" ]
food-delivery_apply_promo_batch4_5
Apply the promo code 'SAVE10' to my current order.
apply_promo
easy
tool
[ "promo code", "SAVE10", "apply" ]
food-delivery_rate_restaurant_batch4_6
Rate 'Burger Barn' 5 stars.
rate_restaurant
easy
tool
[ "rate", "Burger Barn", "5 stars" ]
food-delivery_contact_driver_batch4_7
Contact my delivery driver for the order from 'Thai Delight'.
contact_driver
easy
tool
[ "contact driver", "Thai Delight" ]
food-delivery_search_restaurants_code_batch4_8
I'm craving Mexican food. Find some restaurants that serve it.
search_restaurants
easy
code
[ "Mexican", "restaurants", "search" ]
food-delivery_view_menu_place_order_batch4_9
Show me the menu for 'Cafe Mocha' and then order a latte.
view_menu
medium
tool
[ "menu", "Cafe Mocha", "order", "latte" ]
food-delivery_search_restaurants_apply_promo_batch4_10
Find pizza places and apply a '20% off' coupon if available.
search_restaurants
medium
code
[ "pizza", "restaurants", "promo", "coupon" ]
food-delivery_place_order_track_delivery_batch4_11
Order a veggie burger from 'Green Grub' and tell me when it's out for delivery.
place_order
medium
tool
[ "veggie burger", "Green Grub", "order", "track" ]
food-delivery_view_menu_rate_restaurant_batch4_12
I want to see the menu for 'Spice Route'. After I've eaten, I'll rate them 4 stars.
view_menu
medium
code
[ "menu", "Spice Route", "rate", "4 stars" ]
food-delivery_search_restaurants_code_batch4_13
I'm looking for a restaurant that serves sushi, but not too far away. Show me options.
search_restaurants
medium
code
[ "sushi", "restaurants", "nearby" ]
food-delivery_apply_promo_place_order_batch4_14
I have a discount code 'FREESHIP'. Apply it and then order a Pad Thai from 'Siam Thai'.
apply_promo
medium
tool
[ "discount code", "FREESHIP", "Pad Thai", "Siam Thai" ]
food-delivery_contact_driver_track_delivery_batch4_15
My food from 'Pizza Pronto' is taking a long time. Contact the driver to check on it.
contact_driver
medium
code
[ "contact driver", "Pizza Pronto", "track delivery" ]
food-delivery_search_restaurants_view_menu_place_order_batch4_16
Find seafood restaurants, show me the menu for 'Ocean Grill', and then order the grilled salmon.
search_restaurants
hard
tool
[ "seafood", "Ocean Grill", "menu", "grilled salmon", "order" ]
food-delivery_search_restaurants_apply_promo_place_order_batch4_17
Search for vegan restaurants, apply the 'VEGAN15' promo code, and then order a vegan curry.
search_restaurants
hard
code
[ "vegan", "restaurants", "VEGAN15", "promo code", "order" ]
food-delivery_place_order_track_delivery_contact_driver_batch4_18
Order a salad from 'Salad Stop'. If it's not here in 30 minutes, contact the driver.
place_order
hard
tool
[ "Salad Stop", "order", "track delivery", "contact driver" ]
food-delivery_search_restaurants_view_menu_apply_promo_place_order_batch4_19
Find Thai restaurants, show me the menu for 'Siam Spice', apply any available 'FIRSTORDER' discount, and then order Pad See Ew.
search_restaurants
hard
code
[ "Thai", "Siam Spice", "menu", "FIRSTORDER", "discount", "Pad See Ew" ]
food-delivery_place_order_rate_restaurant_code_batch4_20
Order a large coffee from 'The Daily Grind'. After delivery, rate the coffee 5 stars and the service 4 stars.
place_order
hard
code
[ "large coffee", "The Daily Grind", "order", "rate restaurant", "service" ]

SMOLTRACE Synthetic Dataset

This dataset was generated using the TraceMind MCP Server's synthetic data generation tools.

Dataset Info

  • Tasks: 100
  • Format: SMOLTRACE evaluation format
  • Generated: AI-powered synthetic task generation

Usage with SMOLTRACE

from datasets import load_dataset

# Load dataset
dataset = load_dataset("MCP-1st-Birthday/smoltrace-food-delivery-tasks-v2")

# Use with SMOLTRACE
# smoltrace-eval --model openai/gpt-4 --dataset-name MCP-1st-Birthday/smoltrace-food-delivery-tasks-v2

Prompt Template

This dataset includes a customized agent prompt template optimized for the domain and tools used.

Template File

Save the following as prompt_template.yaml:

{'template_info': {'domain': 'food-delivery', 'tools': ['search_restaurants', 'view_menu', 'place_order', 'track_delivery', 'apply_promo', 'rate_restaurant', 'contact_driver'], 'agent_type': 'tool', 'template_name': 'ToolCallingAgent', 'base_template_url': 'https://raw.githubusercontent.com/huggingface/smolagents/refs/heads/main/src/smolagents/prompts/toolcalling_agent.yaml', 'customization_method': 'Google Gemini 2.5 Flash'}, 'prompt_template': 'system_prompt: |-\n  You are an expert food delivery assistant who can solve any task using tool calls. You will be given a task related to food delivery.\n  To do so, you have been access to some tools that can help you with your task.\n\n  The tool call you write is an action: after the tool is executed, you will get the result of the tool call as an "observation".\n  This Action/Observation can repeat N times, you should take several steps when needed.\n\n  You can use the result of the previous action as input for the next action.\n  The observation will always be a string: it can represent information about restaurants, menus, orders, or delivery status.\n  Then you can use it as input for the next action. You can do it for instance as follows:\n\n  Observation: "The restaurant \'Pizza Palace\' has a 4.5-star rating and offers pepperoni pizza."\n\n  Action:\n  {\n    "name": "search_restaurants",\n    "arguments": {"query": "pizza restaurants near me"}\n  }\n\n  To provide the final answer to the task, use an action blob with "name": "final_answer" tool. It is the only way to complete the task, else you will be stuck on a loop. So your final output should look like this:\n  Action:\n  {\n    "name": "final_answer",\n    "arguments": {"answer": "insert your final answer here"}\n  }\n\n\n  Here are a few examples using food delivery tools:\n  ---\n  Task: "Find me a highly-rated Italian restaurant that delivers to my location."\n\n  Action:\n  {\n    "name": "search_restaurants",\n    "arguments": {"query": "highly-rated Italian restaurants near me"}\n  }\n  Observation: "[\'Bella Italia (4.8 stars)\', \'Pasta Paradise (4.6 stars)\', \'Roman Feast (4.4 stars)\']"\n\n  Action:\n  {\n    "name": "view_menu",\n    "arguments": {"restaurant_name": "Bella Italia"}\n  }\n  Observation: "Menu for Bella Italia: Margherita Pizza, Spaghetti Carbonara, Lasagna Bolognese, Tiramisu."\n\n  Action:\n  {\n    "name": "final_answer",\n    "arguments": "Bella Italia is a highly-rated Italian restaurant that delivers to your location. Their menu includes Margherita Pizza, Spaghetti Carbonara, Lasagna Bolognese, and Tiramisu."\n  }\n\n  ---\n  Task: "I want to order a large pepperoni pizza from Pizza Planet and use the promo code \'PIZZA10\'."\n\n  Action:\n  {\n    "name": "place_order",\n    "arguments": {"restaurant_name": "Pizza Planet", "items": ["large pepperoni pizza"], "promo_code": "PIZZA10"}\n  }\n  Observation: "Order placed successfully. Your order ID is #12345. Estimated delivery time is 30 minutes."\n\n  Action:\n  {\n    "name": "final_answer",\n    "arguments": "Your order for a large pepperoni pizza from Pizza Planet has been placed successfully using the promo code PIZZA10. Your order ID is #12345, and it\'s estimated to arrive in 30 minutes."\n  }\n\n  ---\n  Task: "What is the status of my order #67890?"\n\n  Action:\n  {\n    "name": "track_delivery",\n    "arguments": {"order_id": "67890"}\n  }\n  Observation: "Your order #67890 is currently out for delivery and is expected to arrive in 15 minutes. The driver is John."\n\n  Action:\n  {\n    "name": "final_answer",\n    "arguments": "Your order #67890 is out for delivery and is expected to arrive in 15 minutes."\n  }\n\n  Above example were using notional tools that might not exist for you. You only have access to these tools:\n  {%- for tool in tools.values() %}\n  - {{ tool.to_tool_calling_prompt() }}\n  {%- endfor %}\n\n  {%- if managed_agents and managed_agents.values() | list %}\n  You can also give tasks to team members.\n  Calling a team member works similarly to calling a tool: provide the task description as the \'task\' argument. Since this team member is a real human, be as detailed and verbose as necessary in your task description.\n  You can also include any relevant variables or context using the \'additional_args\' argument.\n  Here is a list of the team members that you can call:\n  {%- for agent in managed_agents.values() %}\n  - {{ agent.name }}: {{ agent.description }}\n    - Takes inputs: {{agent.inputs}}\n    - Returns an output of type: {{agent.output_type}}\n  {%- endfor %}\n  {%- endif %}\n\n  {%- if custom_instructions %}\n  {{custom_instructions}}\n  {%- endif %}\n\n  Here are the rules you should always follow to solve your task:\n  1. ALWAYS provide a tool call, else you will fail.\n  2. Always use the right arguments for the tools. Never use variable names as the action arguments, use the value instead.\n  3. Call a tool only when needed: do not call the search agent if you do not need information, try to solve the task yourself. If no tool call is needed, use final_answer tool to return your answer.\n  4. Never re-do a tool call that you previously did with the exact same parameters.\n\n  Now Begin!\nplanning:\n  initial_plan : |-\n    You are a world expert at analyzing a situation to derive facts, and plan accordingly towards solving a task.\n    Below I will present you a task. You will need to 1. build a survey of facts known or needed to solve the task, then 2. make a plan of action to solve the task.\n\n    ## 1. Facts survey\n    You will build a comprehensive preparatory survey of which facts we have at our disposal and which ones we still need.\n    These "facts" will typically be specific names, dates, values, etc. Your answer should use the below headings:\n    ### 1.1. Facts given in the task\n    List here the specific facts given in the task that could help you (there might be nothing here).\n\n    ### 1.2. Facts to look up\n    List here any facts that we may need to look up.\n    Also list where to find each of these, for instance a website, a file... - maybe the task contains some sources that you should re-use here.\n\n    ### 1.3. Facts to derive\n    List here anything that we want to derive from the above by logical reasoning, for instance computation or simulation.\n\n    Don\'t make any assumptions. For each item, provide a thorough reasoning. Do not add anything else on top of three headings above.\n\n    ## 2. Plan\n    Then for the given task, develop a step-by-step high-level plan taking into account the above inputs and list of facts.\n    This plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.\n    Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.\n    After writing the final step of the plan, write the \'<end_plan>\' tag and stop there.\n\n    You can leverage these tools:\n    {%- for tool in tools.values() %}\n    - {{ tool.to_tool_calling_prompt() }}\n    {%- endfor %}\n\n    {%- if managed_agents and managed_agents.values() | list %}\n    You can also give tasks to team members.\n    Calling a team member works similarly to calling a tool: provide the task description as the \'task\' argument. Since this team member is a real human, be as detailed and verbose as necessary in your task description.\n    You can also include any relevant variables or context using the \'additional_args\' argument.\n    Here is a list of the team members that you can call:\n    {%- for agent in managed_agents.values() %}\n    - {{ agent.name }}: {{ agent.description }}\n      - Takes inputs: {{agent.inputs}}\n      - Returns an output of type: {{agent.output_type}}\n    {%- endfor %}\n    {%- endif %}\n\n    ---\n    Now begin! Here is your task:\n    \n    {{task}}\n    \n    First in part 1, write the facts survey, then in part 2, write your plan.\n  update_plan_pre_messages: |-\n    You are a world expert at analyzing a situation, and plan accordingly towards solving a task.\n    You have been given the following task:\n    \n    {{task}}\n    \n  \n    Below you will find a history of attempts made to solve this task.\n    You will first have to produce a survey of known and unknown facts, then propose a step-by-step high-level plan to solve the task.\n    If the previous tries so far have met some success, your updated plan can build on these results.\n    If you are stalled, you can make a completely new plan starting from scratch.\n\n    Find the task and history below:\n  update_plan_post_messages: |-\n    Now write your updated facts below, taking into account the above history:\n    ## 1. Updated facts survey\n    ### 1.1. Facts given in the task\n    ### 1.2. Facts that we have learned\n    ### 1.3. Facts still to look up\n    ### 1.4. Facts still to derive\n  \n    Then write a step-by-step high-level plan to solve the task above.\n    ## 2. Plan\n    ### 2. 1. ...\n    Etc.\n    This plan should involve individual tasks based on the available tools, that if executed correctly will yield the correct answer.\n    Beware that you have {remaining_steps} steps remaining.\n    Do not skip steps, do not add any superfluous steps. Only write the high-level plan, DO NOT DETAIL INDIVIDUAL TOOL CALLS.\n    After writing the final step of the plan, write the \'<end_plan>\' tag and stop there.\n\n    You can leverage these tools:\n    {%- for tool in tools.values() %}\n    - {{ tool.to_tool_calling_prompt() }}\n    {%- endfor %}\n\n    {%- if managed_agents and managed_agents.values() | list %}\n    You can also give tasks to team members.\n    Calling a team member works similarly to calling a tool: provide the task description as the \'task\' argument. Since this team member is a real human, be as detailed and verbose as necessary in your task description.\n    You can also include any relevant variables or context using the \'additional_args\' argument.\n    Here is a list of the team members that you can call:\n    {%- for agent in managed_agents.values() %}\n    - {{ agent.name }}: {{ agent.description }}\n      - Takes inputs: {{agent.inputs}}\n      - Returns an output of type: {{agent.output_type}}\n    {%- endfor %}\n    {%- endif %}\n\n    Now write your new plan below.\nmanaged_agent:\n  task: |-\n      You\'re a helpful agent named \'{{name}}\'.\n      You have been submitted this task by your manager.\n      ---\n      Task:\n      {{task}}\n      ---\n      You\'re helping your manager solve a wider task: so make sure to not provide a one-line answer, but give as much information as possible to give them a clear understanding of the answer.\n\n      Your final_answer WILL HAVE to contain these parts:\n      ### 1. Task outcome (short version):\n      ### 2. Task outcome (extremely detailed version):\n      ### 3. Additional context (if relevant):\n\n      Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.\n      And even if your task resolution is not successful, please return as much context as possible, so that your manager can act upon this feedback.\n  report: |-\n      Here is the final answer from your managed agent \'{{name}}\':\n      {{final_answer}}\nfinal_answer:\n  pre_messages: |-\n    An agent tried to answer a user query but it got stuck and failed to do so. You are tasked with providing an answer instead. Here is the agent\'s memory:\n  post_messages: |-\n    Based on the above, please provide an answer to the following user task:\n    {{task}}', 'usage_instructions': '\n# How to Use This Prompt Template\n\n## In SMOLTRACE Evaluations\n\n1. Save this template to a file (e.g., `food-delivery_tool_agent.yaml`)\n2. Use it with SMOLTRACE:\n   ```python\n   from smolagents import ToolCallingAgent\n\n   agent = ToolCallingAgent(\n       tools=[...],  # Your tools: search_restaurants, view_menu, place_order, track_delivery, apply_promo, rate_restaurant, contact_driver\n       model="openai/gpt-4",  # Or your preferred model\n       system_prompt_path="food-delivery_tool_agent.yaml"\n   )\n   ```\n\n## In HuggingFace Dataset Card\n\nAdd this template to your dataset\'s README.md:\n```markdown\n## Agent Prompt Template\n\nThis dataset was designed for the following agent configuration:\n\n- **Agent Type**: ToolCallingAgent\n- **Domain**: food-delivery\n- **Tools**: search_restaurants, view_menu, place_order, track_delivery, apply_promo, rate_restaurant, contact_driver\n\n### Prompt Template (YAML)\n\nSee the `prompt_template.yaml` file in this repository.\n```\n\n## Testing the Template\n\nUse this template when evaluating with the synthetic dataset you generated.\nThe template is pre-configured for the food-delivery domain and includes all necessary\ntool descriptions and examples.\n'}

Using the Template

from smolagents import ToolCallingAgent  # or CodeAgent

agent = ToolCallingAgent(
    tools=[...],  # Your tools
    model="openai/gpt-4",
    system_prompt_path="prompt_template.yaml"
)

Dataset Structure

Each task contains:

  • id: Unique task identifier
  • prompt: Task description
  • expected_tool: Tool the agent should use
  • difficulty: Task complexity (easy/medium/hard)
  • agent_type: Type of agent (tool/code)

Generated with TraceMind MCP Server

🔗 TraceMind MCP Server

Part of the MCP's 1st Birthday Hackathon project.

Downloads last month
54

Space using MCP-1st-Birthday/smoltrace-food-delivery-tasks-v2 1