docs: add running field to get_agent_meta description in system.md and mcp.rs
This commit is contained in:
parent
29bc40a1d7
commit
457a3e3ae5
2 changed files with 8 additions and 4 deletions
|
|
@ -833,9 +833,13 @@ impl AgentServer {
|
|||
|
||||
#[tool(
|
||||
description = "Fetch identity + status metadata for an agent. Returns canonical \
|
||||
`name`, the current `hyperhive_rev` hive-c0re is \
|
||||
running against, and the target's self-reported `status` text (set via \
|
||||
`set_status`) plus how long ago it was set. Pass `name` to query a peer (e.g. \
|
||||
`name`, the current `hyperhive_rev` hive-c0re is running against, `running` \
|
||||
(bool — whether the container is currently up; when false, `status_text` and \
|
||||
`status_set_at` are stale pre-stop values and should not be treated as live), \
|
||||
and the target's self-reported `status` text (set via `set_status`) plus how \
|
||||
long ago it was set. Also returns the hive + swarm display names (`hive_name`, \
|
||||
`swarm_name`) when the operator has configured `services.hyperhive.{hiveName, \
|
||||
swarmName}`; both lines omitted when unset. Pass `name` to query a peer (e.g. \
|
||||
check whether iris is idle before pinging them); omit `name` to get your own \
|
||||
identity stamp — handy for state files / commit messages / cross-agent \
|
||||
attribution that won't drift across renames or session-continue boundaries \
|
||||
|
|
|
|||
Loading…
Reference in a new issue