Class: RailsInformant::Mcp::Tools::AnnotateError
- Defined in:
- lib/rails_informant/mcp/tools/annotate_error.rb
Class Method Summary collapse
Class Method Details
.call(id:, notes:, server_context:, environment: nil) ⇒ Object
17 18 19 20 21 |
# File 'lib/rails_informant/mcp/tools/annotate_error.rb', line 17 def self.call(id:, notes:, server_context:, environment: nil) with_client(server_context:, environment:) do |client| text_response(client.update_error(id, { notes: notes.to_s })) end end |