search_knowledge
Retrieve information from a knowledge base by searching with a query. Get relevant content snippets, source filenames, and relevance scores to answer questions accurately.
Instructions
Searches for information in the knowledge base. Use this tool when you need to retrieve specific information or context.
Available knowledge sources:
- docs: For architecture documents, technical specifications, and notes
IMPORTANT USAGE INSTRUCTIONS:
1. This tool returns content snippets directly from the knowledge base
2. DO NOT attempt to access or load the source files mentioned in metadata
3. Use ONLY the content field from each result to answer queries
4. ALWAYS cite the EXACT source filenames (including .md extension) when presenting information to users (e.g., 'According to architecture-notes.md...')
5. Source filenames help users understand where information comes from and allow them to verify it if needed
6. The lastModified field indicates when the information was updated - newer information may be more relevant
7. The score field (0-1) indicates how relevant the result is to the query - higher values are more relevant
8. All necessary information is contained in the content snippets
Response format:
{
instructions: "How to use these results",
results: [
{
content: "The actual text snippet to use (FOCUS ON THIS)",
metadata: {
reference: "Filename for reference only - DO NOT ATTEMPT TO LOAD",
source: "docs",
lastModified: "Date of last modification",
score: "Relevance score between 0-1"
}
}
]
}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| query | Yes | The search query to find relevant information | |
| source | No | The preferred knowledge source to search (e.g., jira, confluence, docs, slack). If specified, results from this source will be prioritized. |