final | |
|---|---|
readonly | |
extends |
JsonRpcNotification<'notifications/prompts/list_changed', array{jsonrpc: '2.0', method: 'notifications/prompts/list_changed', params?: template-type<EmptyNotificationParams, NotificationParams, 'T'>}> |
implements |
ServerNotification |
An optional notification from the server to the client, informing it that the list of prompts
it offers has changed. This is only delivered on a subscriptions/listen stream when the
client requested it via the promptsListChanged filter field.
| Methods | ||
|---|---|---|
public
static
|
getMethod(): string
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcNotification |
|---|
jsonSerialize() |
| Methods inherited from Nexus\Mcp\Core\Schema\Notification |
|---|
__construct(), |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
readonly
|
EmptyNotificationParams
|
$params
|
# |