Class Nexus\Mcp\Client\Message\Notification\RootsListChangedNotification

final
readonly
extends Notification
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\Message\Notification
toArray()
Methods inherited from Nexus\Mcp\Message\Message
jsonSerialize()
Constants inherited from Nexus\Mcp\Message\Message
JSON_RPC_VERSION
Properties
Properties inherited from Nexus\Mcp\Message\Notification
$method, $params
Properties inherited from Nexus\Mcp\Message\Message
$jsonrpc