index_prisma_docs
Index Prisma Cloud documentation to enable search functionality. Call this tool first to prepare documentation for queries.
Instructions
Index Prisma Cloud documentation. Call this first before searching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_pages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/main.py:213-217 (handler)Handler function for the index_prisma_docs tool, registered via @mcp.tool() decorator. Indexes Prisma Cloud documentation pages using the indexer and returns the number of pages indexed.
@mcp.tool() async def index_prisma_docs(max_pages: int = 50) -> str: """Index Prisma Cloud documentation. Call this first before searching.""" pages_indexed = await indexer.index_site('prisma_cloud', max_pages) return f"Indexed {pages_indexed} pages from Prisma Cloud documentation" - server.py:209-213 (handler)Handler function for the index_prisma_docs tool, registered via @mcp.tool() decorator. Indexes Prisma Cloud documentation pages using the indexer and returns the number of pages indexed.
@mcp.tool() async def index_prisma_docs(max_pages: int = 50) -> str: """Index Prisma Cloud documentation. Call this first before searching.""" pages_indexed = await indexer.index_site('prisma_cloud', max_pages) return f"Indexed {pages_indexed} pages from Prisma Cloud documentation"