Whatever message this page gives is out now! Go check it out!
getRoot function retrieves the definition of a single root previously associated with an MCP client. A root is a named URI that tells the server where to look for relevant resources (for example, a directory, repository, or logical data domain).getRoot when you need to:"samples" → file:///home/user/samples).getRoot(string name)root = mcpClient.getRoot("samples");| Field | Data type | Required | Description |
|---|---|---|---|
name | String | Yes | Logical name/label for this root. |