CodeExecution
class CodeExecution extends ProviderTool
Properties
| protected array<string, mixed>|SerializableClosure | $providerOptions | from ProviderTool |
Methods
withProviderOptions(array|Closure $options)
Attach provider-specific options to the tool payload. Closures may only capture serializable values.
from
ProviderTool
array
providerOptions(Lab|string $provider)
Get the provider-specific options for the given provider.
from
ProviderTool
Details
in
ProviderTool at line 23
ProviderTool
withProviderOptions(array|Closure $options)
Attach provider-specific options to the tool payload. Closures may only capture serializable values.
in
ProviderTool at line 37
array
providerOptions(Lab|string $provider)
Get the provider-specific options for the given provider.