Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 310 Bytes

File metadata and controls

5 lines (4 loc) · 310 Bytes
@modelcontextprotocol/server minor

Add ToolError class for secure-by-default tool error handling. Unhandled errors from tool handlers are now sanitized to "Internal error" instead of exposing raw messages. Use throw new ToolError('message') when you want clients to see a specific error message.