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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"roomId": "<roomId>",
"text": "<text>"
},
"name": "create_message"
}
}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. |