Class Nexus\Mcp\Schema\Tool\ToolSchema\ObjectType

final
extends ToolSchema<array<string, mixed>, array{type: 'object', description?: non-empty-string, title?: non-empty-string, properties?: array<non-empty-string, array<string, mixed>>, required?: list<non-empty-string>, additionalProperties: bool}>

The object type is used for validating key-value maps (objects).

Methods
Methods inherited from Nexus\Mcp\Schema\Tool\ToolSchema\ToolSchema
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