app.callServerTool().
{
"type": "object",
"properties": {
"action": {
"const": "toolCall",
"default": "toolCall",
"type": "string"
},
"tool": {
"description": "Name of the server tool to call",
"type": "string"
},
"arguments": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "string"
}
],
"description": "Argument mapping or an expression resolving to an object."
}
},
"required": [
"action",
"tool"
]
}