record_error
Record errors encountered during development to store prevention hints for future sessions, reducing repetitive mistakes.
Instructions
Record an error Claude or the user encountered so future sessions can avoid it.
error_type: exception class name or short label (e.g. "TypeError", "build_failed"). message: error message text (truncated to 300 chars). file_path: source file where the error occurred (optional). query_context: the query or action that triggered the error (optional). repo_path: optional absolute path to the target repository.
Returns: the prevention hint for this error type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_type | Yes | ||
| message | No | ||
| file_path | No | ||
| query_context | No | ||
| repo_path | No |