Zapisz szablon
save_templateSave template
Create or update an SMS/MMS/voice template with {{key}} placeholders. Omit id to create. Use list_templates to find existing ids.
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": {
"name": "<name>",
"body": "<body>"
},
"name": "save_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id istniejącego szablonu tpl_…: pomiń, by utworzyć nowy. | |
| body | Yes | Treść z placeholderami {{klucz}}, np. „Cześć {{imie}}, jutro {{kiedy}}”. | |
| name | Yes | Nazwa szablonu, np. „Wizyta”. | |
| type | No | Typ: sms, mms albo vms (głos). Domyślnie sms. | |
| subject | No | Temat MMS; ignorowany dla SMS i VMS. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||