# `GenMCP.MCP.V2607.CreateMessageRequest`
[🔗](https://github.com/lud/gen_mcp/blob/main/lib/gen_mcp/mcp/v2607/entities.ex#L715)

Struct and module-based JSON schema generated from
[modelcontextprotocol.io JSON schema](https://github.com/modelcontextprotocol/modelcontextprotocol/tree/main/schema/2026-07-28/schema.json).

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.

# `t`

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

# `json_schema`

Returns the JSON schema for this entity.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
