libtmux Reference MCP Search
On this page

ToolDefinition

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmuxMCP/ToolCatalog.swift
struct ToolDefinition : struct ToolDefinition
struct [source]
struct [source]
struct ToolDefinition

10 declared, 0 inherited

Members

  • !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
  • arguments property
  • detail property When to reach for this one rather than a neighbour, and what the result means. Empty for tools whose summary says everything.
  • isDestructive property Whether the tool may replace, remove, or otherwise destroy state.
  • isIdempotent property Whether calling twice with the same arguments leaves the same state as calling once. Reaches clients as idempotentHint.
  • name property What the client names in a ToolCall .
  • outputSchema property What the tool answers with, when that shape is guaranteed. Declared only where it is: MCP requires structuredContent to conform to this, so a schema the server may break is worse than none at all.
  • summary property What the tool answers, for a model choosing between them. First line of the description, and the only part some clients show.
  • tier property
  • title property A short human label, shown by clients that render one.
Esc

Type to search.