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

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).

Sent from the server to request a list of root URIs from the client.
Roots allow servers to ask for specific directories or files to
operate on. A common example for roots is providing a set of
repositories or directories a server should operate on.

This request is typically used when the server needs to understand the
file system structure or access specific locations that the client has
permission to read from.

# `t`

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

# `json_schema`

Returns the JSON schema for this entity.

---

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