← run

tool-04-tool-selection

1.000
2/2 tests· tool-calling
Challenge · difficulty 4/5
# Correct tool selection

Tests whether the model picks the right tool from several plausible ones (and avoids the
wrong ones). Given `search_web`, `send_email`, `create_calendar_event`, and `get_current_time`,
the request is to schedule a meeting — so it must call `create_calendar_event` (with the right
title) and must NOT call `send_email` or `search_web`. Defined in `task.py`.
Proposed solution
TOOL CALLS:
[
 {
  "name": "create_calendar_event",
  "arguments": {
   "title": "Sync",
   "date": "2026-07-01",
   "time": "10:00"
  }
 }
]

FINAL:
The calendar event titled "Sync" has been successfully scheduled for July 1, 2026, at 10:00 AM. Let me know if you need any further assistance!