Class: TalkToYourApp::Plugins::Jobs::Tools::Base
- Defined in:
- lib/talk_to_your_app/plugins/jobs/tools/base.rb
Overview
Base for the job-metric tools. Each adapter plugin (:sidekiq,
:solid_queue) builds concrete subclasses bound to its adapter via
adapter_name, with an adapter-namespaced MCP name (e.g.
"sidekiq.queue_sizes"). Subclasses inherit the arguments/description
DSL from their template (see Tool.inherited).
Direct Known Subclasses
Class Attribute Summary collapse
-
.adapter_name ⇒ Object
Returns the value of attribute adapter_name.
Method Summary
Methods inherited from Tool
argument, arguments, #call, clear_custom_registry!, connection, custom_registry, default_arguments, description, dispatch, inherited, input_schema_hash, invoke, name, normalize_response, to_mcp_definition, to_mcp_tool, tool_name
Class Attribute Details
.adapter_name ⇒ Object
Returns the value of attribute adapter_name.
16 17 18 |
# File 'lib/talk_to_your_app/plugins/jobs/tools/base.rb', line 16 def adapter_name @adapter_name end |