Skip to main content
Call an MCP server tool via app.callServerTool().
{
  "type": "object",
  "properties": {
    "action": {
      "const": "toolCall",
      "default": "toolCall",
      "type": "string"
    },
    "tool": {
      "description": "Name of the server tool to call",
      "type": "string"
    },
    "arguments": {
      "additionalProperties": true,
      "description": "Arguments to pass. Supports {{ key }} interpolation.",
      "type": "object"
    }
  },
  "required": [
    "action",
    "tool"
  ]
}