GenMCP.MCP.V2607.ToolAnnotations (gen_mcp v2.0.0)

Copy Markdown View Source

Struct and module-based JSON schema generated from modelcontextprotocol.io JSON schema.

Additional properties describing a {@link Tool} to clients.

NOTE: all properties in ToolAnnotations are hints. They are not guaranteed to provide a faithful description of tool behavior (including descriptive properties like title).

Clients should never make tool use decisions based on ToolAnnotations received from untrusted servers.

Summary

Functions

Returns the JSON schema for this entity.

Types

t()

@type t() :: %GenMCP.MCP.V2607.ToolAnnotations{
  destructiveHint: term(),
  idempotentHint: term(),
  openWorldHint: term(),
  readOnlyHint: term(),
  title: term()
}

Functions

json_schema()

Returns the JSON schema for this entity.