@@ -473,6 +473,41 @@ $defs:
473
473
description : The parameters object to send with the A2A method.
474
474
required : [ method ]
475
475
unevaluatedProperties : false
476
+ - title : CallMCP
477
+ description : Defines the MCP call to perform.
478
+ type : object
479
+ unevaluatedProperties : false
480
+ required : [ call, with ]
481
+ allOf :
482
+ - $ref : ' #/$defs/taskBase'
483
+ - properties :
484
+ call :
485
+ type : string
486
+ const : mcp
487
+ with :
488
+ type : object
489
+ title : MCPArguments
490
+ description : The MCP call arguments.
491
+ properties :
492
+ server :
493
+ title : MCPServer
494
+ description : The MCP server endpoint (HTTP or STDIO) to send the request to.
495
+ $ref : ' #/$defs/endpoint'
496
+ method :
497
+ type : string
498
+ title : WithMCPMethod
499
+ description : The MCP method to send.
500
+ enum : [ 'initialize', 'notifications/initialized', 'prompts/list', 'prompts/get', 'notifications/prompts/list_changed', 'resources/list', 'resources/read', 'resources/templates/list', 'notifications/resources/list_changed', 'tools/list', 'tools/call', 'notifications/tools/list_changed', 'logging/setLevel', 'notifications/message' ]
501
+ parameters :
502
+ oneOf :
503
+ - type : object
504
+ minProperties : 1
505
+ additionalProperties : true
506
+ - type : string
507
+ title : WithMCPParameters
508
+ description : The parameters object to send with the MCP method.
509
+ required : [ method, server ]
510
+ unevaluatedProperties : false
476
511
- title : CallFunction
477
512
description : Defines the function call to perform.
478
513
type : object
@@ -484,7 +519,7 @@ $defs:
484
519
call :
485
520
type : string
486
521
not :
487
- enum : ["asyncapi", "grpc", "http", "openapi", "a2a"]
522
+ enum : ["asyncapi", "grpc", "http", "openapi", "a2a", "mcp" ]
488
523
description : The name of the function to call.
489
524
with :
490
525
type : object
@@ -1823,4 +1858,4 @@ $defs:
1823
1858
export :
1824
1859
$ref : ' #/$defs/export'
1825
1860
title : SubscriptionIteratorExport
1826
- description : An object, if any, used to customize the content of the workflow context.
1861
+ description : An object, if any, used to customize the content of the workflow context.
0 commit comments