Adopt Schema component in server handlers

This commit is contained in:
Christopher Hertel 2025-08-03 22:06:46 +02:00
commit 09707b4798
No known key found for this signature in database
GPG key ID: 111F6BFF7B6B5AA3

View file

@ -105,11 +105,6 @@ class CallToolResult implements ResultInterface
return new self($contents, $data['isError'] ?? false);
}
public static function fromResponse(Response $response): self
{
return self::fromArray($response->result);
}
/**
* @return array{
* content: array<TextContent|ImageContent|AudioContent|EmbeddedResource>,