McpResponse.internalError constructor
Create an internal error response
Implementation
factory McpResponse.internalError(Object id, String message) {
return McpResponse.error(
id,
McpProtocol.errorInternalError,
'Internal error: $message',
);
}