agentlens_health
Retrieve the agent's health score (0-100), trend, and breakdown across error rate, cost, tool success, latency, and completion rate over a configurable time window.
Instructions
Check the health score of the current agent. Returns overall score (0-100), trend, and dimension breakdown.
When to use: To assess the current health and performance of the agent, to check if error rates or latency are degrading, or to get a quick overview of agent reliability metrics.
What it returns: An overall health score (0-100), a trend indicator (improving/stable/degrading), and a breakdown by five dimensions: error rate, cost efficiency, tool success, latency, and completion rate.
Example: agentlens_health({ window: 7 }) → returns health score with dimension breakdown for the last 7 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Rolling window in days (default: 7) |