Kind: Class
Source: atloria-monorepo/libs/agent-core/src/tools/tool-registry.ts
Methods
| Method | Signature | Returns |
|---|---|---|
search | search(query: string, maxResults: number) | ToolSearchResult[] |
buildDeferredToolsReminder | buildDeferredToolsReminder() | string |
createToolSearchTool | createToolSearchTool() | `ToolDefinition |
get | get(name: string) | `ToolDefinition |
estimateTokenSavings | estimateTokenSavings() | { beforeTokens: number; afterTokens: number; savedTokens: number; savingsPercent: number } |
Properties
| Property | Type |
|---|---|
alwaysLoaded | ToolDefinition<any>[] |
deferred | ToolDefinition<any>[] |
Where it refuses work
ToolRegistrystops the work with an early return whenthis.deferred.length === 0, in 2 places.ToolRegistrystops the work with an early return whenkeywords.length === 0.ToolRegistrystops the work with an early return whenresults.length === 0.
Was this page helpful?