Skip to content
Docs

get_agent_run_trace

Use this tool with agents built with eve.

Get the trace for a single eve Agent Run, including turns, messages, reasoning, tool calls, token usage, and tool input or output when available. Use this tool to debug exact agent behavior in production.

ParameterTypeRequiredDefaultDescription
teamIdstringYes-The team ID for the Agent Run. Alternatively the team slug can be used. Team IDs start with 'team_'. Can be found by reading .vercel/project.json (orgId) or using the list_teams tool.
projectIdstringYes-The project ID for the Agent Run. Alternatively the project slug can be used. Project IDs start with 'prj_'. Can be found by reading .vercel/project.json (projectId) or using list_projects.
runIdstringYes-The Agent Run ID to inspect
environmentstringNoproductionAgent run environment, usually production or preview
periodstringNo-Preset time range. Supports 5m, 15m, 1h, 6h, 12h, 1d, 3d, 7d, 14d, 30d, and 90d. Ignored when both from and to are provided.
fromstringNo-Start time as ISO 8601, Unix seconds, Unix milliseconds, or a relative duration like 12h. Must be used with to.
tostringNo-End time as ISO 8601, Unix seconds, Unix milliseconds, a relative duration like 1h, or now. Must be used with from.
maxFieldLengthnumberNo8000Maximum length for individual string fields in the returned trace. Use 0 to disable truncation.

Sample prompt: "Show me the tool calls and messages from Agent Run wrun_123"


Was this helpful?

supported.