Methods |
public
|
__construct(
null|array<string, object> $experimental = null,
bool $roots = false,
null|bool $rootsListChanged = null,
bool $sampling = false,
bool $elicitation = false,
)
Parameters
$experimental |
Experimental, non-standard capabilities that the client supports.
|
$roots |
Present if the client supports listing roots.
|
$rootsListChanged |
Whether the client supports notifications for changes to the roots list.
|
$sampling |
Present if the client supports sampling from an LLM.
|
$elicitation |
Present if the client supports elicitation from the server.
|
|
#
|
public
|
toArray(
): array{experimental?: array<string, object>, roots?: object{listChanged?: bool}, sampling?: object, elicitation?: object}
|
#
|
public
|
jsonSerialize(
): object{experimental?: array<string, object>, roots?: object{listChanged?: bool}, sampling?: object, elicitation?: object}
|
#
|
Properties |
public
|
null|array<string, object>
|
$experimental
Experimental, non-standard capabilities that the client supports.
Experimental, non-standard capabilities that the client supports.
|
#
|
public
|
bool
|
$roots
Present if the client supports listing roots.
Present if the client supports listing roots.
|
#
|
public
|
null|bool
|
$rootsListChanged
Whether the client supports notifications for changes to the roots list.
Whether the client supports notifications for changes to the roots list.
|
#
|
public
|
bool
|
$sampling
Present if the client supports sampling from an LLM.
Present if the client supports sampling from an LLM.
|
#
|
public
|
bool
|
$elicitation
Present if the client supports elicitation from the server.
Present if the client supports elicitation from the server.
|
#
|