Unified Research Context
unified_research_contextRetrieves clean, anti-poisoned research context from papers, GitHub, and web; prunes unneeded tools and removes prompt injection payloads for bounded, grounded results.
Instructions
End-to-end multi-source research context pipeline with Tool Capability RAG & Token Budgeting.
RAG-selects ONLY the top 1-2 optimal tools based on semantic capability match.
Prunes unneeded tools to prevent API waste and context overload.
Sanitizes all retrieved snippets and removes prompt injection payloads.
Cross-encoder reranks on CPU and returns bounded, dense grounded context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |