[
  {
    "name": "rag_retrieve",
    "description": "Retrieve relevant documents from the knowledge base. Returns markdown results. Use this tool for concept, definition, workflow, policy, explanation, and general knowledge lookup. Rewrite the query when needed to improve recall.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "Retrieval query content. Rewrite the query when needed to improve recall."
        },
        "top_k": {
          "type": "integer",
          "description": "Number of top results to retrieve. Choose dynamically based on retrieval breadth and coverage needs.",
          "default": 100
        }
      },
      "required": ["query"]
    }
  }
]
