Adopt Schema component in server handlers
This commit is contained in:
parent
6025f890f9
commit
09707b4798
1 changed files with 1516 additions and 2424 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue