Open Context Protocol is live! 🚀 Read the launch post
deleteParticipant

deleteParticipant

Kick a participant from a given conference

Details

  • Method: DELETE
  • Path: /2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json
  • Operation ID: DeleteParticipant

Parameters

{
  "AccountSid": {
    "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Participant resources to delete.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "ConferenceSid": {
    "description": "The SID of the conference with the participants to delete.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "CallSid": {
    "description": "The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID or label of the participant to delete. Non URL safe characters in a label must be percent encoded, for example, a space character is represented as %20.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('twilio')

# Call this tool
result = await agent.call_tool('deleteParticipant', {
    # Add required parameters here
})