MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / searchNamespaceCode

Function searchNamespaceCode

packages/hosts/mcp/src/tool-server.ts:1300–1301  ·  view source on GitHub ↗
(integration: string, query: string | undefined)

Source from the content-addressed store, hash-verified

1298 // results, formatting, and telemetry match a hand-written
1299 // `tools.search({ namespace })` call.
1300 const searchNamespaceCode = (integration: string, query: string | undefined): string =>
1301 `return tools.search(${JSON.stringify({ query: query ?? "", namespace: integration })})`;
1302
1303 /** What the caller could bind an unresolved role to. Best effort: the
1304 * connections port is optional, and a failure to enumerate must not

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected