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 |
If this server supports notifications for changes to the prompt list.
|
| $resources |
Present if the server offers any resources to read.
|
| $resourcesSubscribe |
If this server supports subscribing to resource updates.
|
| $resourcesListChanged |
If this server supports notifications for changes to the resource list.
|
| $tools |
Present if the server offers any tools to call.
|
| $toolsListChanged |
If this server supports notifications for changes to the tool list.
|
|
#
|
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}}
|
#
|