Call MCP tool
Calls a tool on an MCP server and stores what it returns.
Call tool on server
Details #
The step names an MCP server and one of its tools, passes args as the tool's arguments, and stores the result in into.
This is the opposite direction from Switchboard's own MCP server, which lets an AI agent run your macros.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
server | text | Yes | Required. The name of the MCP server. | |
tool | text | Yes | Required. The tool's name on that server. | |
args | record | An object of arguments for the tool. | ||
into | text | The variable that would receive the result. | ||
sample | any value | What into holds during a dry run. |
Every step also accepts label, onFailure, timeout and dryRunSafe.
Examples #
Shape of an MCP call (not runnable yet)
Do
- Call search on notes
Gotchas #
Dry run. Nothing is called.
intogetssample, or an empty string, so later steps still have a value.Until it is available, use Send HTTP request or Run shell script to reach a tool.