isTeamMemorySearch function
Check if a search tool use targets team memory files.
Implementation
bool isTeamMemorySearch(Map<String, dynamic>? toolInput) {
if (toolInput == null) return false;
final path = toolInput['path'] as String?;
if (path != null && isTeamMemFile(path)) return true;
return false;
}