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.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
teamId | string | Yes | - | 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. |
projectId | string | Yes | - | 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. |
runId | string | Yes | - | The Agent Run ID to inspect |
environment | string | No | production | Agent run environment, usually production or preview |
period | string | No | - | Preset time range. Supports 5m, 15m, 1h, 6h, 12h, 1d, 3d, 7d, 14d, 30d, and 90d. Ignored when both from and to are provided. |
from | string | No | - | Start time as ISO 8601, Unix seconds, Unix milliseconds, or a relative duration like 12h. Must be used with to. |
to | string | No | - | End time as ISO 8601, Unix seconds, Unix milliseconds, a relative duration like 1h, or now. Must be used with from. |
maxFieldLength | number | No | 8000 | Maximum 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?