See which tools an agent called in a run: its page lays out every model call and tool call in order and as a graph.
Before you start
You need an agent run that called a tool, such as the chat at the end of Add a tool.
See the tool calls
- Sign in to the CLI.
- Set
RUN_IDto the run's ID (Find your IDs):export RUN_ID=<id>. - List the run's tool-call events. You should now see
TOOL_CALL_STARTforget-time,TOOL_CALL_ARGSwhosedeltapieces, joined pertoolCallId, read{"timeZone":"Asia/Tokyo"}, thenTOOL_CALL_RESULT:Shell - If
page_info.nextis notnull, run it again with that value as"cursor"in--query. You should now see the next events.