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

Method updateProtection

mcp/src/client.ts:129–134  ·  view source on GitHub ↗
(
    config: ProtectionConfigView,
    explicitAddress?: string,
  )

Source from the content-addressed store, hash-verified

127 }
128
129 updateProtection(
130 config: ProtectionConfigView,
131 explicitAddress?: string,
132 ): Promise<ProtectionConfigView> {
133 return this.sdk.agents.replaceProtection(this.resolveAddress(explicitAddress), config);
134 }
135
136 async deleteAgent(explicitAddress?: string): Promise<string> {
137 const address = this.resolveAddress(explicitAddress);

Callers 1

registerAgentToolsFunction · 0.80

Calls 2

resolveAddressMethod · 0.95
replaceProtectionMethod · 0.80

Tested by

no test coverage detected