extended-salmon•4mo ago
What do I put for the body of MCP server when I do an API node on Workflows?
I’m trying to figure out what exactly should be included in the body of the MCP server when setting up an API node in Workflows. Could you provide some guidance or examples on how to structure this? i,e, Create specific values that get sent in the API request body


3 Replies
To structure the body for an MCP server API node in Workflows, use a JSON object that specifies the tool/action and its arguments. For example, to create a call via MCP, your body might look like:
Replace the values with your actual assistant and phone number IDs. Adjust the structure based on the specific MCP tool/action you want to invoke.
Tip: Always check the MCP server's documentation for the required fields for each action. Sources: - Vapi MCP Server Documentation - Vapi MCP Tool Documentation
Tip: Always check the MCP server's documentation for the required fields for each action. Sources: - Vapi MCP Server Documentation - Vapi MCP Tool Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Message marked as helpful by @! AetherMind! 🎉
Hey FabulousRay, checking if you want to continue this thread over here or in email?