question/ask

The context-ask endpoint is an intelligent codebase question-answering system that combines semantic search with expert-level code analysis. Think of it as having a principal software engineer who instantly understands your entire codebase and can provide detailed, evidence-based answers with actual code snippets and precise implementation details.

What Makes Context Ask Unique

Unlike traditional documentation or search tools, Context Ask:

  • Provides evidence-based answers with actual code snippets and line numbers

  • Combines semantic search with graph-based repository knowledge

  • Analyzes code relationships and dependencies across your entire codebase

  • Delivers expert-level explanations with complete implementation details

  • Shows actual code proof for every claim, never just descriptions

  • Covers ALL aspects of complex technical questions comprehensively

API/MCP Reference

Request Format

{
  "tool": "context_ask",
  "parameters": {
    "input": "How does user authentication work in our FastAPI application? Show me the complete flow from login request to JWT token generation.",
    "repositories": ["backend/auth", "api/v1"],
    "session_id": "engineering-review-789"
  }
}

Parameters

Parameter
Type
Required
Description

input

string

Yes

Technical question about your codebase. More specific questions yield better results with exact code evidence

repositories

array

No

List of repository identifiers to focus the search. Format: org/repo

session_id

string

No

Unique identifier to maintain context across related engineering questions

Response Format

  • Ask specific technical questions - "How does error handling work in the payment processing module?" rather than "Tell me about errors"

  • Request complete implementations - Ask for end-to-end flows, not just isolated functions

  • Focus on architectural patterns - Questions about how components interact yield comprehensive answers

  • Specify scope with repositories - Target relevant codebases for focused, accurate responses

  • Use session continuity - Maintain session_id for follow-up questions on related topics

chevron-rightUsage Exampleshashtag

Understanding Authentication Flow

Analyzing Error Handling Patterns

Exploring API Design Patterns

Investigating Performance Optimizations

Last updated