Open Context Protocol is live! 🚀 Read the launch post

deleteMessage

Deletes a Message resource from your account

Details

  • Method: DELETE
  • Path: /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
  • Operation ID: DeleteMessage

Parameters

{
  "AccountSid": {
    "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Message resource",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "Sid": {
    "description": "The SID of the Message resource you wish to delete",
    "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('deleteMessage', {
    # Add required parameters here
})