Class Nexus\Mcp\Schema\Tool\ToolSchema\NumberType

final
extends ToolSchema<float|int, array{type: 'number', description?: non-empty-string, title?: non-empty-string, minimum?: (float|int), maximum?: (float|int), default?: (float|int)}>

The number type is used for validating integer and float values.

Methods
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