Class Nexus\Mcp\Schema\Result\CallToolResult

final
readonly
extends Result<array{_meta?: array<string, mixed>, content: list<template-type<UnstructuredContent, Arrayable, 'T'>>, isError?: bool, structuredContent?: template-type<StructuredContent, Arrayable, 'T'>}>
implements ServerResult

The server's response to a tool call.

Type aliases
UnstructuredContent AudioContent|EmbeddedResource|ImageContent|ResourceLink|TextContent #
Methods
Methods inherited from Nexus\Mcp\Schema\Result\Result
jsonSerialize()
Properties
Properties inherited from Nexus\Mcp\Schema\Result\Result
$meta