final | |
|---|---|
implements |
MiddlewareInterface |
Rejects a tools/call whose Mcp-Param-{Name} headers disagree with the arguments in its body.
| Methods | ||
|---|---|---|
public
|
__construct(
ToolStoreInterface $store,
ResponseFactoryInterface $responseFactory,
StreamFactoryInterface $streamFactory,
LoggerInterface $logger = new NullLogger(),
)
|
# |
public
|
process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
# |