search_all_docs
Search across all Cortex Cloud documentation sites to find specific information using a query.
Instructions
Search across all Cortex Cloud documentation sites.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- server.py:203-207 (handler)The handler function that implements the core logic of the 'search_all_docs' tool. It searches all indexed documentation using the indexer and returns the results as a JSON string.
@mcp.tool() async def search_all_docs(query: str) -> str: """Search across all Cortex Cloud documentation sites.""" results = await indexer.search_docs(query) return json.dumps(results, indent=2) - src/main.py:203-207 (handler)Identical handler function implementing the 'search_all_docs' tool logic, present in the alternative entrypoint file.
@mcp.tool() async def search_all_docs(query: str) -> str: """Search across all Cortex Cloud documentation sites.""" results = await indexer.search_docs(query) return json.dumps(results, indent=2) - server.py:188-188 (helper)Global indexer instance initialization, crucial for the tool's search functionality.
indexer = DocumentationIndexer() - src/main.py:189-189 (helper)Global indexer instance used by the search_all_docs tool.
indexer = DocumentationIndexer()