Class Nexus\Mcp\Schema\Notification\RootsListChangedNotification

final
readonly
extends JsonRpcNotification<array{jsonrpc: '2.0', method: 'notifications/roots/list_changed', params?: array{_meta?: array<string, mixed>}}>
implements ClientNotification

A notification from the client to the server, informing it that the list of roots has changed. This notification should be sent whenever the client adds, removes, or modifies any root. The server should then request an updated list of roots using the ListRootsRequest.

Methods
Methods inherited from Nexus\Mcp\Schema\Message\JsonRpcNotification
toArray()
Methods inherited from Nexus\Mcp\Schema\Notification\Notification
jsonSerialize()
Methods inherited from Nexus\Mcp\Schema\Message\Message
validateJsonRpc()
Constants inherited from Nexus\Mcp\Schema\Message\JsonRpcMessage
JSON_RPC_VERSION
Properties inherited from Nexus\Mcp\Schema\Message\JsonRpcNotification
$jsonrpc
Properties inherited from Nexus\Mcp\Schema\Notification\Notification
$method, $params