return [];
}
const sessionTools = toolSearchActive
? tools
: tools.filter(def => def.name !== CLIENT_TOOL_SEARCH_REFERENCE_NAME);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return sessionTools.map((def): Tool<any> => {
if (toolSearchActive && def.name === CLIENT_TOOL_SEARCH_REFERENCE_NAME) {
copilotAgentSession.ts
return {
name: RUNTIME_TOOL_SEARCH_TOOL_NAME,