Methods |
public
|
__construct(
null|array<string, object> $experimental = null,
bool $logging = false,
bool $completions = false,
bool $prompts = false,
null|bool $promptsListChanged = null,
bool $resources = false,
null|bool $resourcesSubscribe = null,
null|bool $resourcesListChanged = null,
bool $tools = false,
null|bool $toolsListChanged = null,
)
Parameters
$experimental |
Experimental, non-standard capabilities that the server supports.
|
$logging |
Present if the server supports sending log messages to the client.
|
$completions |
Present if the server supports argument autocompletion suggestions.
|
$prompts |
Present if the server offers any prompt templates.
|
$promptsListChanged |
Whether this server supports notifications for changes to the prompt list.
|
$resources |
Present if the server offers any resources to read.
|
$resourcesSubscribe |
Whether this server supports subscribing to resource updates.
|
$resourcesListChanged |
Whether this server supports notifications for changes to the resource list.
|
$tools |
Present if the server offers any tools to call.
|
$toolsListChanged |
Whether this server supports notifications for changes to the tool list.
|
|
#
|
public
|
toArray(
): array{experimental?: array<string, object>, logging?: object, completions?: object, prompts?: object{listChanged?: bool}, resources?: object{subscribe?: bool, listChanged?: bool}, tools?: object{listChanged?: bool}}
|
#
|
public
|
jsonSerialize(
): object{experimental?: array<string, object>, logging?: object, completions?: object, prompts?: object{listChanged?: bool}, resources?: object{subscribe?: bool, listChanged?: bool}, tools?: object{listChanged?: bool}}
|
#
|
Properties |
public
|
null|array<string, object>
|
$experimental
Experimental, non-standard capabilities that the server supports.
Experimental, non-standard capabilities that the server supports.
|
#
|
public
|
bool
|
$logging
Present if the server supports sending log messages to the client.
Present if the server supports sending log messages to the client.
|
#
|
public
|
bool
|
$completions
Present if the server supports argument autocompletion suggestions.
Present if the server supports argument autocompletion suggestions.
|
#
|
public
|
bool
|
$prompts
Present if the server offers any prompt templates.
Present if the server offers any prompt templates.
|
#
|
public
|
null|bool
|
$promptsListChanged
Whether this server supports notifications for changes to the prompt list.
Whether this server supports notifications for changes to the prompt list.
|
#
|
public
|
bool
|
$resources
Present if the server offers any resources to read.
Present if the server offers any resources to read.
|
#
|
public
|
null|bool
|
$resourcesSubscribe
Whether this server supports subscribing to resource updates.
Whether this server supports subscribing to resource updates.
|
#
|
public
|
null|bool
|
$resourcesListChanged
Whether this server supports notifications for changes to the resource list.
Whether this server supports notifications for changes to the resource list.
|
#
|
public
|
bool
|
$tools
Present if the server offers any tools to call.
Present if the server offers any tools to call.
|
#
|
public
|
null|bool
|
$toolsListChanged
Whether this server supports notifications for changes to the tool list.
Whether this server supports notifications for changes to the tool list.
|
#
|