search_by_error
Searches Stack Overflow for solutions to a given error message, with options to filter by language, technologies, tags, score, and accepted answers.
Instructions
Search Stack Overflow for solutions to an error message
Args:
error_message (str): The error message to search for
language (Optional[str]): Programming language (e.g., "python", "javascript")
technologies (Optional[List[str]]): Related technologies (e.g., ["react", "django"])
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 |
|---|---|---|---|
| error_message | Yes | ||
| language | No | ||
| technologies | No | ||
| excluded_tags | No | ||
| min_score | No | ||
| has_accepted_answer | No | ||
| answers | No | ||
| include_comments | No | ||
| response_format | No | markdown | |
| limit | No |