When the tool encounters errors, it should return well-formatted JSON error messages instead of plain text. This will improve the user experience and make it easier to programmatically handle errors.
Acceptance Criteria
Ensure all error messages are returned in JSON format with a consistent structure.
Include relevant error details in the JSON response.
Description
When the tool encounters errors, it should return well-formatted JSON error messages instead of plain text. This will improve the user experience and make it easier to programmatically handle errors.
Acceptance Criteria