Agents

AI agent reasoning and tool selection tests planning, tool choice, and self-diagnosis capabilities. These skills are crucial for autonomous ticket triage systems and complex agent workflows where models must decide which tools to use, plan multi-step processes, and diagnose when things go wrong. This represents some of the most challenging tasks as they require open-ended reasoning and decision-making.

100
Duration
3s
Input Tokens
3433
Output Tokens
350
Cost
$0.00
Context
Input
You need to list all open orders for a specific customer whose ID is `cust_42`. Which tool/method do you choose and what parameter object do you send?
Expected output
Use the **database** tool with parameters {"action": "list_orders", "customer_id": "cust_42"}.
Model output
Reasoning: The request is to retrieve all open orders for a known customer ID (cust_42). The only tool that can query order data is the **database** tool. Its `list_orders` method is designed to return the orders belonging to a specific customer when supplied with the required parameters `action` (set to "list_orders") and `customer_id`. No other tool (email, calendar, user_input, memory) can fulfill this data‑retrieval task. Therefore the appropriate choice is the database tool, invoking the `list_orders` method with a parameter object that includes the action and the target customer ID.

Response: Use the **database** tool, method **list_orders**, with the following parameter object:
```json
{
  "action": "list_orders",
  "customer_id": "cust_42"
}
```