Test Error Handling
test_error_handlingThrows a chosen error type to verify the MCP server formats and returns errors correctly.
Instructions
Throws a specific type of error to verify the server formats and returns them correctly over MCP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Test error message | |
| error_type | No | ||
| use_test_db | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| error | No | Human-readable error message | |
| details | No | Additional error context | |
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| aggregated_errors | No | Details of individual errors in a multi-step operation |