MCPcopy Create free account
hub / github.com/callstack/agent-device / createManagedTool

Function createManagedTool

src/platforms/web/agent-browser-tool.ts:115–121  ·  view source on GitHub ↗
(status: AgentBrowserToolStatus)

Source from the content-addressed store, hash-verified

113}
114
115function createManagedTool(status: AgentBrowserToolStatus): AgentBrowserTool {
116 if (!status.installed) throw missingManagedToolError(status);
117 return {
118 command: status.binaryPath,
119 env: managedAgentBrowserEnv(status, process.env),
120 };
121}
122
123async function installAgentBrowserPackage(status: AgentBrowserToolStatus): Promise<void> {
124 const packageRoot = path.join(status.installDir, 'package');

Callers 1

resolveAgentBrowserToolFunction · 0.85

Calls 2

missingManagedToolErrorFunction · 0.85
managedAgentBrowserEnvFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…