class CallTool implements Errable, Method

Methods

iterable|JsonRpcResponse
handle(JsonRpcRequest $request, ServerContext $context)

Call the requested tool.

Details

at line 26
iterable|JsonRpcResponse handle(JsonRpcRequest $request, ServerContext $context)

Call the requested tool.

Parameters

JsonRpcRequest $request
ServerContext $context

Return Value

iterable|JsonRpcResponse

Exceptions

JsonRpcException