MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / get_agent

Method get_agent

atomic-remote/src/storage.rs:458–460  ·  view source on GitHub ↗

Fetch one agent by its identity UUID.

(&self, agent_id: &str)

Source from the content-addressed store, hash-verified

456
457 /// Fetch one agent by its identity UUID.
458 pub async fn get_agent(&self, agent_id: &str) -> Result<AgentIdentityInfo, RemoteError> {
459 self.get(&format!("/identities/agents/{agent_id}")).await
460 }
461
462 /// Retire an agent: revoke its delegations and mark the key unusable.
463 ///

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected