Class Nexus\Mcp\Core\Schema\Tool\Tool

final
readonly
extends BaseMetadata
implements Arrayable<array{name: non-empty-string, title?: non-empty-string, description?: non-empty-string, inputSchema: ToolInputSchemaShape, outputSchema?: array<string, mixed>, annotations?: template-type<ToolAnnotations, Arrayable, 'T'>, icons?: list<template-type<Icon, Arrayable, 'T'>>, _meta?: template-type<MetaObject, Arrayable, 'T'>}>, Icons

Definition for a tool the client can call.

Type aliases
ToolInputSchemaShape array{type: 'object', ...} #
Methods
Properties
Properties inherited from Nexus\Mcp\Core\Schema\BaseMetadata
$name, $title