Kind: Function
Source: atloria-monorepo/libs/agent-core/src/tools/tool-profiles.ts
Filter a list of tool definitions down to those allowed by the given mode. Tools not in the profile are omitted. When mode is 'full', returns all tools.
Signature
tsfunction filterToolsByMode(tools: T[], mode: TaskMode): T[]
Parameters
| Name | Type |
|---|---|
tools | T[] |
mode | TaskMode |
Returns: T[]
Was this page helpful?