final | |
|---|---|
extends |
ToolSchema<bool, array{type: 'boolean', description?: non-empty-string, title?: non-empty-string, default?: bool}> |
The boolean type is used to validate boolean values (true or false).
| Methods | ||
|---|---|---|
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Schema\Tool\ToolSchema\ToolSchema |
|---|
__construct(), root(), asArray(), asBoolean(), asInteger(), asNull(), asNumber(), asObject(), asString(), title(), description(), default(), required(), isRequired(), jsonSerialize() |
| Properties inherited from Nexus\Mcp\Schema\Tool\ToolSchema\ToolSchema |
|---|
$title, $description, $default, $name |