Class Nexus\Mcp\Schema\Result\ListRootsResult

final
readonly
extends Result<array{_meta?: array<string, mixed>, roots: list<template-type<Root, Arrayable, 'T'>>}>
implements ClientResult

The client's response to a roots/list request from the server. This result contains an array of Root objects, each representing a root directory or file that the server can operate on.

Methods
Methods inherited from Nexus\Mcp\Schema\Result\Result
jsonSerialize()
Properties
Properties inherited from Nexus\Mcp\Schema\Result\Result
$meta