Class: ScoutApmMcp::Server::ListJobsTool

Inherits:
BaseTool
  • Object
show all
Defined in:
lib/scout_apm_mcp/server/tools/standard_tools.rb

Instance Method Summary collapse

Instance Method Details

#call(app_id:, range: nil, from: nil, to: nil) ⇒ Object



228
229
230
# File 'lib/scout_apm_mcp/server/tools/standard_tools.rb', line 228

def call(app_id:, range: nil, from: nil, to: nil)
  get_client.list_jobs(app_id, from: from, to: to, range: range)
end