Add a template
import_templateAdds a template's flows (and any data collections it needs) to a bot. Some templates need a Pro or trial account. The trigger may be changed if the bot already uses it; the result says so.
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": {
"bot_id": "<bot_id>",
"template_key": "<template_key>"
},
"name": "import_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | A bot_id from list_bots. | |
| template_key | Yes | A key from list_templates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||