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

Function toolSuggestions

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

Source from the content-addressed store, hash-verified

3334 const TOOL_SUGGESTION_LIMIT = 5;
3335
3336 const toolSuggestions = (rows: readonly ToolInvocationRow[]): readonly ToolAddress[] =>
3337 rows.map((row) => rowToTool(row).address);
3338
3339 const toolRowsForConnectionWhere = (parsed: ParsedToolAddress) => (b: AnyCb) =>
3340 b.and(

Callers 1

executeFunction · 0.85

Calls 1

rowToToolFunction · 0.85

Tested by

no test coverage detected