Namespace Nexus\Mcp\Server\Tool

Classes
ClosureToolExecutor

Adapts a closure to the ToolExecutorInterface contract.

ReflectedToolExecutor

Adapts an attribute-discovered handler method to the ToolExecutorInterface contract.

ToolEntry

Pairs a Tool with the executor that runs its invocations.

ToolStore

In-memory implementation of MutableToolStoreInterface.

Interfaces
MutableToolStoreInterface

A tool store whose listing can be changed after build().

ToolExecutorInterface

Executes a single tool when invoked via tools/call.

ToolStoreInterface

Read surface that the built-in tools/* request handlers depend on.