analyze_stack_trace
Analyze programming stack traces to find matching solutions on Stack Overflow. Retrieves relevant questions and answers based on error details, language, and optional filters.
Instructions
Analyze a stack trace and find relevant solutions on Stack Overflow.
Args:
stack_trace (str): The stack trace to analyze
language (str): Programming language of the stack trace
excluded_tags (Optional[List[str]]): Optional list of tags to exclude
min_score (Optional[int]): Minimum score threshold for questions
has_accepted_answer (Optional[bool]): Whether questions must have an accepted answer
answers (Optional[int]): Minimum number of answers
include_comments (Optional[bool]): Whether to include comments in results
response_format (Optional[str]): Format of response ("json" or "markdown")
limit (Optional[int]): Maximum number of results to return
ctx (Context): The context is passed automatically by the MCP
Returns:
str: Formatted search results
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack_trace | Yes | ||
| language | Yes | ||
| excluded_tags | No | ||
| min_score | No | ||
| has_accepted_answer | No | ||
| answers | No | ||
| include_comments | No | ||
| response_format | No | markdown | |
| limit | No |