McpServer.Tool.Content.Text (HTTP MCP Server v0.6.0)
View SourceRepresents text content in a tool result.
Fields
text- The text content (required)
Examples
iex> text = McpServer.Tool.Content.Text.new(text: "Hello!")
iex> text.text
"Hello!"
Summary
Types
@type t() :: %McpServer.Tool.Content.Text{text: String.t()}