Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/tools / code-mode / createCodeSearchTool

Function: createCodeSearchTool()

ts
function createCodeSearchTool(opts): Tool<CodeSearchInput, string>;

Defined in: packages/tools/src/code-mode/meta-tools.ts:93

Build the code_search meta-tool. Returns matching tools.<name>(…) signatures as text (eager substring match + the deferred pool).

Parameters

ParameterType
optsCodeSearchToolOptions

Returns

Tool&lt;CodeSearchInput, string&gt;

Stable