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

Copy Markdown View Source

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

A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.

Summary

Functions

Returns the JSON schema for this entity.

Types

t()

@type t() :: %GenMCP.MCP.V2607.CreateMessageRequest{method: term(), params: term()}

Functions

json_schema()

Returns the JSON schema for this entity.