Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/tools / / ToolSearchToolOptions

Interface: ToolSearchToolOptions

Defined in: packages/tools/src/built-in/tool-search.ts:24

Configuration for createToolSearchTool.

Properties

PropertyModifierTypeDescriptionDefined in
availability?readonly"next-step" | "next-run"When matched tools become callable, reflected in the model-facing description so the model is never promised availability the harness does not deliver. 'next-step' (default) matches the agent's immediate promotion mode; 'next-run' matches toolPromotion: 'run-boundary' (C1), where the catalogue is frozen for the current run.packages/tools/src/built-in/tool-search.ts:38
defaultK?readonlynumberDefault k when the model does not pass one. Default 5.packages/tools/src/built-in/tool-search.ts:27
maxK?readonlynumberHard cap on k (model-supplied). Default 15.packages/tools/src/built-in/tool-search.ts:29
registryreadonlyToolRegistry-packages/tools/src/built-in/tool-search.ts:25