send_message
Create a new Canvas conversation and send an initial message to specified recipients, optionally associating a course and attaching files.
Instructions
Create a new Canvas conversation and send the initial message.
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": {
"recipientIds": "<recipientIds>",
"subject": "<subject>",
"body": "<body>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Message body content | |
| subject | Yes | Subject line for the conversation | |
| contextCode | No | Optional context code (e.g., "course_123") to associate with a course | |
| recipientIds | Yes | Array of Canvas user IDs to send the message to | |
| attachmentIds | No | Optional array of Canvas file IDs to attach |