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

Function searchNamespaceCode

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

Source from the content-addressed store, hash-verified

1272 // results, formatting, and telemetry match a hand-written
1273 // `tools.search({ namespace })` call.
1274 const searchNamespaceCode = (integration: string, query: string | undefined): string =>
1275 `return tools.search(${JSON.stringify({ query: query ?? "", namespace: integration })})`;
1276
1277 /** What the caller could bind an unresolved role to. Best effort: the
1278 * 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