Skip to main content
Glama

cancel_call

Terminate an ongoing phone call by providing the call ID. This tool allows users to end active calls within the VoiceAI platform.

Instructions

Cancel an active phone call

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
call_idYesCall ID

Implementation Reference

  • The handler logic for the 'cancel_call' tool. It sets the API endpoint URL to `/twilio/calls/{call_id}` and the HTTP method to 'DELETE' to cancel the specified call.
    case 'cancel_call': url = `${this.baseUrl}/twilio/calls/${args.call_id}`; method = 'DELETE'; break;
  • index.js:430-440 (registration)
    Registration of the 'cancel_call' tool in the listTools response, including its name, description, and input schema requiring a 'call_id' string.
    { name: 'cancel_call', description: 'Cancel an active phone call', inputSchema: { type: 'object', properties: { call_id: { type: 'string', description: 'Call ID' } }, required: ['call_id'] } },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Business-On-Steroids/MCP-VoiceAI-WhiteLabel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server