15 16 17 18 19 20 21
# File 'lib/groww_mcp/tools/portfolio_tools.rb', line 15 def call(server_context:) client = server_context[:client] result = client.holdings format_response(result) rescue GrowwMcp::ApiError => e error_response(e) end