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

Copy Markdown View Source

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

The result returned by the client for a {@link ListRootsRequestroots/list} request. This result contains an array of {@link Root} objects, each representing a root directory or file that the server can operate on.

Summary

Functions

Returns the JSON schema for this entity.

Types

t()

@type t() :: %GenMCP.MCP.V2607.ListRootsResult{roots: term()}

Functions

json_schema()

Returns the JSON schema for this entity.