retrieve_context
Retrieve findings and return them in a sanitized format safe for LLM context. Use to inject relevant context into reasoning or knowledge base analysis without injection risks.
Instructions
Retrieve findings and return them in a sanitized format safe for LLM context.
AUTOMATIC TRIGGERS - Call this when:
You need to inject findings into your context for reasoning
Building a knowledge base context for analysis
You want findings formatted safely without injection risks
DIFFERENCE from retrieve_findings: This returns a sanitized context block optimized for safe inclusion in LLM prompts. Use retrieve for raw data.
ERROR RECOVERY: If this returns no results, try search_findings for keyword-based search instead - the semantic query may not match any findings.
PARAMETERS:
query: Search query (required)
project: Filter by project (optional)
tags: Filter by tags (optional)
confidence_min: Minimum confidence (optional)
final_k: Number of results (optional, default: 10)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| query | Yes | ||
| final_k | No | ||
| project | No | ||
| confidence_min | No |