class RubyLLM::MCP::Tool

A tool offered by an MCP server. It works anywhere a Tool does: a chat renders its name, description, and schema for the model, and calling it calls the server.

tool = linear.tools.first
tool.read_only?  # => true
chat.with_tools(tool)

The behavior predicates read the server’s annotations. They are hints from the server, so trust them only as far as you trust the server.