final | |
|---|---|
readonly | |
implements |
ToolExecutorInterface |
Adapts a closure to the ToolExecutorInterface contract.
| Methods | ||
|---|---|---|
public
|
__construct(Closure(?array<string, mixed>, ServerContext): CallToolResult $closure)
|
# |
public
|
execute(?array $arguments, ServerContext $context): CallToolResult
|
# |