search_errors
Identify and retrieve programming errors from a knowledge base by filtering error type, language, framework, message, code snippet, or task description for troubleshooting and learning.
Instructions
Search for errors in the knowledge base.
Args:
error_type: Type of error to filter by
language: Programming language to filter by
framework: Framework to filter by
error_message: Error message to search for
code_snippet: Code snippet to search for
task_description: Task description to search for
max_results: Maximum number of results to return
Returns:
List of matching error records
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_snippet | No | ||
| error_message | No | ||
| error_type | No | ||
| framework | No | ||
| language | No | ||
| max_results | No | ||
| task_description | No |
Input Schema (JSON Schema)
{
"properties": {
"code_snippet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Code Snippet"
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error Message"
},
"error_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Error Type"
},
"framework": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Framework"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Language"
},
"max_results": {
"default": 5,
"title": "Max Results",
"type": "integer"
},
"task_description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Task Description"
}
},
"title": "search_errorsArguments",
"type": "object"
}