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 | ||
---|---|---|
public
|
__construct(non-empty-string $jsonrpc, null|array<string, mixed> $meta = null)
|
# |
Methods inherited from Nexus\Mcp\Message\Notification |
---|
toArray() |
Methods inherited from Nexus\Mcp\Message\Message |
---|
jsonSerialize() |
Constants inherited from Nexus\Mcp\Message\Message |
---|
|
Properties | |||
---|---|---|---|
public
|
null|array<string, mixed>
|
$meta
|
# |
Properties inherited from Nexus\Mcp\Message\Notification |
---|
$method, $params |
Properties inherited from Nexus\Mcp\Message\Message |
---|
$jsonrpc |