class

ModelContextProtocol::Server::Examples::ShellTool

Inherits ModelContextProtocol::Server::Tool < Reference < Object

Example implementation of a shell command execution tool

Constructors

Instance methods

invoke(params : Hash(String, JSON::Any)) : Hash(String, JSON::Any)

Invoke the tool with given parameters

Source