get_metrics
Retrieve runtime execution telemetry, tick duration percentiles, stuck events, category statistics, and 60Hz action outcome spool records for behavior tree performance analysis and spool inspection.
Instructions
Retrieve runtime execution telemetry, tick durations, stuck events, category statistics, and 60Hz action outcome spool entries (actions: current, history, aggregate, compare, spool, drain_spool). Use get_metrics instead of get_status when evaluating tick performance, reading spooled action outcomes, or inspecting aggregated statistics rather than active node traversal.
Returns telemetry metrics, duration percentiles, stuck event counts, spooled outcome records, or drained entry counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max records | |
| action | Yes | Metrics query mode: current, history, aggregate, compare, spool, drain_spool | |
| project | No | Target project slug | |
| trace_id | No | Distributed trace ID | |
| execution_id | No | Filter metrics by execution ID | |
| behavior_name | No | Filter metrics by behavior tree name | |
| unsynced_only | No | Filter only unsynced spool entries (action: spool) |