get_agent_liveness
Diagnose agent disconnects by showing each registered agent's inactivity countdown and last activity ages, revealing missed heartbeats, sensory-only keepalive, or transport faults.
Instructions
How close each registered agent is to being deregistered for inactivity.
Registration does not mean an agent stays connected. FEAGI removes any agent
that sends nothing to FEAGI for heartbeat_timeout_s (data FEAGI pushes to the
agent never counts), and that teardown drops
the agent's motor and visualization publishers, which closes its sockets. The
client then reconnects and registers again under a new agent ID.
Use this whenever an agent or the Brain Visualizer disconnects on a regular period. It separates two causes that otherwise look identical from outside:
prune_in_scounting down to 0 and the agent vanishing means FEAGI reaped it for inactivity; the client is not sending heartbeats.last_command_control_age_sclimbing whilelast_activity_age_sstays low means the agent sends no heartbeat or command but is streaming sensory data to FEAGI, which keeps it alive; it will drop once that stream stops.An agent disappearing while
prune_in_sis still large points at the transport, not at liveness.
Returns:
heartbeat_timeout_s, stale_check_interval_s, count, and
agents with per-agent ages and countdown. On HTTP 404 this FEAGI
build does not expose the route; the payload lists use_instead
tools and does not invent prune ages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_agent_liveness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||