File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export interface MCPServerToolOptions extends ToolParams {
1919 sandboxId ?: string
2020}
2121
22- export class MCPServerTool < SchemaT extends ToolSchemaBase > extends StructuredTool < SchemaT > {
22+ export class MCPServerTool < SchemaT extends ToolSchemaBase > extends StructuredTool < SchemaT , SchemaOutputT < SchemaT > > {
2323 override name : string = 'mcp_server_tool'
2424 override description : string = 'Base tool for MCP server operations.'
2525 override schema ! : SchemaT
@@ -32,7 +32,7 @@ export class MCPServerTool<SchemaT extends ToolSchemaBase> extends StructuredToo
3232 }
3333
3434 protected async _call (
35- _arg : any ,
35+ _arg : SchemaOutputT < SchemaT > ,
3636 _runManager ?: CallbackManagerForToolRun ,
3737 _parentConfig ?: ToolRunnableConfig ,
3838 ) : Promise < ToolOutputT > {
You can’t perform that action at this time.
0 commit comments