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

Function toolSuggestions

packages/core/sdk/src/executor.ts:4142–4143  ·  view source on GitHub ↗
(rows: readonly ToolInvocationRow[])

Source from the content-addressed store, hash-verified

4140 const TOOL_SUGGESTION_LIMIT = 5;
4141
4142 const toolSuggestions = (rows: readonly ToolInvocationRow[]): readonly ToolAddress[] =>
4143 rows.map((row) => rowToTool(row).address);
4144
4145 const toolRowsForConnectionWhere = (parsed: ParsedToolAddress) => (b: AnyCb) =>
4146 b.and(

Callers 1

executeFunction · 0.85

Calls 1

rowToToolFunction · 0.85

Tested by

no test coverage detected