Skip to content

The model asks, your code acts

How a model uses tools it can't touch.

A model can't run anything. It can only ask: it replies with a tool name and arguments, and stops. Your code runs the tool and sends back the result.

Where is my order?gemini-3-flash-previewRecorded real run
model calls
1
tool calls
0
tokens in
170
tokens out
21
time
1.9s

Task My order A123 hasn't arrived yet. Where is it?

You
task
Model1.9s
get_order
track_shipment

Model call 1. It read 170 tokens and wrote 21. It asked for a tool, so it isn't done.

get_order({"order_id":"A123"})

stop_reason: tool_use

Context window170 tokens sent

  • System prompt34
  • Tool definitions124
  • Your messages12
step 1 of 5

Now you're the model. Same context, same tools. What do you ask for?

Be the modelWhere is my order?
0/3 best

You are gemini-3-flash-preview. This is all you know: 170 tokens.

  1. System prompt

    You are QuickCart's support agent. Use the tools to look up real order data before answering. Never guess dates. Be brief and kind.

  2. Your tools

    • get_order Look up an order by its id. Returns status, tracking id and the promised delivery date.
    • track_shipment Where a shipment is right now, by tracking id. Returns status, location and the latest delivery estimate.
  3. User

    My order A123 hasn't arrived yet. Where is it?

Your move?