MCPcopy Create free account
hub / github.com/FIND-Lab/AgentWard / getApi

Function getApi

util/logger.ts:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52export function getApi(): OpenClawPluginApi {
53 if (!globalApi) {
54 throw new Error("API not initialized");
55 }
56 return globalApi;
57}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected