Param
Describes a tool method parameter. Used to generate JSON schema automatically.
Param::__construct()
public function __construct(string $description = '', ?mixed $default = null, ?array $clamp = null, ?array $enum = null, bool $required = false):Parameters
| Name | Type | Description |
|---|---|---|
| $description | string | |
| $default | ?mixed | |
| $clamp | (list<(int | float)> | null) | |
| $enum | (list<mixed> | null) | |
| $required | bool |