Class Nexus\Mcp\Schema\Tool\ToolSchema\IntegerType

final
extends ToolSchema<int, array{type: 'integer', description?: non-empty-string, title?: non-empty-string, minimum?: int, maximum?: int, multipleOf: 1, default?: int}>

The integer type is a subtype of number type used for validating only integer numbers.

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