list_filters
Display current filter configuration for web searches, showing allowed domains, blocked domains, and recency settings to debug search behavior.
Instructions
Display current filter configuration including allowed domains, blocked domains, and active recency setting. Useful for debugging search behavior.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The core handler function for the 'list_filters' tool. It retrieves the current filter status from FilterState and returns it as a standardized MCP text content response.async handleListFilters() { const statusMessage = this.filterState.getFilterStatus(); return { content: [ { type: "text", text: statusMessage, }, ], }; }
- src/schemas/toolSchemas.ts:68-75 (schema)The JSON schema definition for the 'list_filters' tool, including name, description, and empty input schema (no parameters required). This is part of the TOOL_SCHEMAS array used for tool listing.{ name: "list_filters", description: "Display current filter configuration including allowed domains, blocked domains, and active recency setting. Useful for debugging search behavior.", inputSchema: { type: "object", properties: {}, }, },
- src/server/PerplexityMcpServer.ts:125-126 (registration)Registration of the 'list_filters' tool in the MCP server's call_tool request handler switch statement, dispatching to the FilterManagementHandler.case "list_filters": return this.filterManagementHandler.handleListFilters();