MCP PHP SDK

ToolHandlerInterface extends ElementHandlerInterface

Contract for explicit tool handlers paired with an `Mcp\Schema\Tool` definition via `Mcp\Server\Builder::add()`.

Tags
author

Mateu Aguiló Bosch mateu.aguilo.bosch@gmail.com

Table of Contents

Methods

execute()  : mixed

Methods

On this page

Search results