main
rb 7 lines 245 Bytes
Raw
1 # frozen_string_literal: true
2
3 module Mcp
4 # Raised by a tool when it can't complete (bad args, not found, not authorized).
5 # The server reports these to the model in-band as an isError tool result.
6 class ToolError < StandardError; end
7 end