create_message
Send messages in Webex rooms by specifying room ID, text, or attachments. Supports replies, markdown formatting, and file attachments for effective communication.
Instructions
Create a message in a Webex room.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attachments | No | An array of attachment objects. | |
files | No | An array of file URLs to attach to the message. | |
markdown | No | The message in markdown format. | |
parentId | No | The ID of the parent message (if this is a reply). | |
roomId | Yes | The ID of the room where the message will be sent. | |
text | Yes | The plain text message to send. | |
toPersonEmail | No | The email of the person to whom the message is directed. | |
toPersonId | No | The ID of the person to whom the message is directed. |
Input Schema (JSON Schema)
{
"properties": {
"attachments": {
"description": "An array of attachment objects.",
"items": {
"type": "object"
},
"type": "array"
},
"files": {
"description": "An array of file URLs to attach to the message.",
"items": {
"type": "string"
},
"type": "array"
},
"markdown": {
"description": "The message in markdown format.",
"type": "string"
},
"parentId": {
"description": "The ID of the parent message (if this is a reply).",
"type": "string"
},
"roomId": {
"description": "The ID of the room where the message will be sent.",
"type": "string"
},
"text": {
"description": "The plain text message to send.",
"type": "string"
},
"toPersonEmail": {
"description": "The email of the person to whom the message is directed.",
"type": "string"
},
"toPersonId": {
"description": "The ID of the person to whom the message is directed.",
"type": "string"
}
},
"required": [
"roomId",
"text"
],
"type": "object"
}