Revert "Remove CompatibilityCallToolResult"
This commit is contained in:
parent
45af3820fa
commit
1962943b22
1 changed files with 16 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ import {
|
|||
ClientNotification,
|
||||
ClientRequest,
|
||||
ClientResult,
|
||||
CompatibilityCallToolResultSchema,
|
||||
CompleteRequest,
|
||||
CompleteResultSchema,
|
||||
EmptyResultSchema,
|
||||
|
|
@ -376,7 +377,9 @@ export class Client<
|
|||
|
||||
async callTool(
|
||||
params: CallToolRequest["params"],
|
||||
resultSchema: typeof CallToolResultSchema,
|
||||
resultSchema:
|
||||
| typeof CallToolResultSchema
|
||||
| typeof CompatibilityCallToolResultSchema = CallToolResultSchema,
|
||||
options?: RequestOptions,
|
||||
) {
|
||||
return this.request(
|
||||
|
|
|
|||
Loading…
Reference in a new issue