Class: SmartAgent::MCPContext
- Inherits:
-
Object
- Object
- SmartAgent::MCPContext
- Defined in:
- lib/smart_agent/mcp_client.rb
Instance Method Summary collapse
- #command(path) ⇒ Object
- #command_path ⇒ Object
- #mcp_type ⇒ Object
- #type(mcp_type) ⇒ Object
- #url(url) ⇒ Object
Instance Method Details
#command(path) ⇒ Object
82 83 84 |
# File 'lib/smart_agent/mcp_client.rb', line 82 def command(path) @command_path = path end |
#command_path ⇒ Object
78 79 80 |
# File 'lib/smart_agent/mcp_client.rb', line 78 def command_path @command_path end |
#mcp_type ⇒ Object
74 75 76 |
# File 'lib/smart_agent/mcp_client.rb', line 74 def mcp_type @mcp_type end |
#type(mcp_type) ⇒ Object
70 71 72 |
# File 'lib/smart_agent/mcp_client.rb', line 70 def type(mcp_type) @mcp_type = mcp_type end |
#url(url) ⇒ Object
86 87 88 |
# File 'lib/smart_agent/mcp_client.rb', line 86 def url(url) @command_path = url end |