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
| Property | Modifier | Type | Description | Defined 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? | readonly | number | Default k when the model does not pass one. Default 5. | packages/tools/src/built-in/tool-search.ts:27 |
maxK? | readonly | number | Hard cap on k (model-supplied). Default 15. | packages/tools/src/built-in/tool-search.ts:29 |
registry | readonly | ToolRegistry | - | packages/tools/src/built-in/tool-search.ts:25 |