MCPcopy
hub / github.com/ValueCell-ai/ClawX / classifyCapabilityMethod

Function classifyCapabilityMethod

electron/gateway/manager.ts:131–137  ·  view source on GitHub ↗
(method: string)

Source from the content-addressed store, hash-verified

129}
130
131function classifyCapabilityMethod(method: string): GatewayCapabilityName | null {
132 if (method === 'health') return 'openclawHealth';
133 if (method === 'status') return 'openclawStatus';
134 if (method === 'channels.status') return 'channels';
135 if (method.startsWith('doctor.memory.')) return 'memory';
136 return null;
137}
138
139/**
140 * Gateway Manager Events

Callers 1

rpcMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected