MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / resolveAddress

Method resolveAddress

mcp/src/client.ts:81–89  ·  view source on GitHub ↗
(explicit?: string)

Source from the content-addressed store, hash-verified

79 // resolveAddress picks the explicit per-call address, falling back to
80 // the pinned default. Throws a directive error when neither resolves.
81 private resolveAddress(explicit?: string): string {
82 const addr = explicit || this.agentEmail;
83 if (!addr) {
84 throw new Error(
85 "email is required — pass it explicitly, or connect with an agent-scoped credential (which resolves the agent for you). Run list_agents to see your agents.",
86 );
87 }
88 return addr;
89 }
90
91 // ── Account / identity ──────────────────────────────────────────
92

Callers 13

updateAgentMethod · 0.95
getProtectionMethod · 0.95
updateProtectionMethod · 0.95
deleteAgentMethod · 0.95
sendMethod · 0.95
replyMethod · 0.95
forwardMethod · 0.95
updateMessageLabelsMethod · 0.95
getMessageMethod · 0.95
getAttachmentMethod · 0.95
listMessagesMethod · 0.95
listConversationsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected