<?php
namespace App\AI\Api\Claude\Messages; class InputSchema implements \JsonSerializable { public $type = "object"; public $properties; public $required = []; public $additionalProperties = false; public function __construct() { $this->properties = new \App\AI\Api\Claude\Messages\Properties(); } public function addProperty(string $propertyName, \App\AI\Api\Claude\Messages\Property $propertyStdObj): void { $this->properties->{$propertyName} = $propertyStdObj; } public function setRequired(array $required): void { $this->required = $required; } public function jsonSerialize(): mixed { if (is_null($this->required) || empty($this->required)) { unset($this->required); } return $this; } } 