Create message template
create_messageCreates a message template, which flows can send. Its buttons and select menus get a flow_source_id, use it with edit_flow to build what they do.
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": {
"app_id": "<app_id>",
"name": "<name>",
"data": "<data>"
},
"name": "create_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The message like Discord's API takes it: content, embeds, components and flags. | |
| name | Yes | ||
| app_id | Yes | The ID of the app, from list_apps. | |
| description | No |