defaultServerToolsFilter
constdefaultServerToolsFilter:ServerToolsFilterFunction
Defined in: src/lib/tools/serverTools.ts:1593
Pre-configured server-tools filter ready to drop into useChatStorage’s
serverTools option. Semantic matching against the user prompt with the
default exclusion list applied, plus call-chain expansion via
SERVER_TOOL_DEPENDENCY_SETS so continuation tools (read-after-search,
geocode-before-weather) ride in with their entry tool.
Example
import { defaultServerToolsFilter, useChatStorage } from "@anuma/sdk/react";
useChatStorage({
...,
serverTools: defaultServerToolsFilter,
});If you need to customize (extra excludes, different limits, opt into
tool-set expansion), call createServerToolsFilter directly.
Last updated on