File size: 2,315 Bytes
cf3884b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | {
"name": "get_agent_run",
"description": "Get detailed Agent Run metadata for a single run, including events, workflow metadata, usage, and subagent breakout data. Use list_agent_runs first if you need to discover a run ID.",
"inputSchema": {
"type": "object",
"properties": {
"teamId": {
"type": "string",
"description": "The team ID to get the deployment events for. Alternatively the team slug can be used.\nTeam IDs start with \"team_\".\nIf you do not know the team ID or slug, it can be found through these mechanism:\n- Read the file .vercel/project.json if it exists and extract the orgId\n- Use the `list_teams` tool"
},
"projectId": {
"type": "string",
"description": "The project ID to get the deployment events for. Alternatively the project slug can be used.\nProject IDs start with \"prj_\".\nIf you do not know the project ID or slug, it can be found through these mechanism:\n- Read the file .vercel/project.json if it exists and extract the projectId\n- Use the `list_projects` tool"
},
"runId": {
"type": "string",
"description": "The Agent Run ID to inspect."
},
"environment": {
"type": "string",
"description": "Agent run environment, usually \"production\" or \"preview\". Defaults to \"production\"."
},
"period": {
"type": "string",
"enum": [
"5m",
"15m",
"1h",
"6h",
"12h",
"1d",
"3d",
"7d",
"14d",
"30d",
"90d"
],
"description": "Preset time range. Ignored when both from and to are provided. Defaults to the dashboard endpoint default."
},
"from": {
"type": "string",
"description": "Start time as ISO 8601, Unix seconds, Unix milliseconds, or a relative duration like \"12h\". Must be used with to."
},
"to": {
"type": "string",
"description": "End time as ISO 8601, Unix seconds, Unix milliseconds, a relative duration like \"1h\", or \"now\". Must be used with from."
}
},
"required": [
"teamId",
"projectId",
"runId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}
} |