Create Template
senderkit_templates_createGenerate a new email, SMS, push, or web-push template from a plain-language brief and save it as a DRAFT. Returns a link to review it in the editor. Nothing is sent until the user reviews and publishes the draft.
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": {
"channel": "<channel>",
"brief": "<brief>",
"context": "<context>"
},
"name": "senderkit_templates_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL-safe id (letters, digits, _ or -). Auto-derived from the brief if omitted. | |
| brief | Yes | Plain-language description of the message to generate. | |
| channel | Yes | Channel for the new template. | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| description | No | Optional internal note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the draft template. | |
| status | Yes | Always draft — this tool never publishes or sends anything. | |
| message | Yes | Human-readable next step to relay to the user. | |
| editorUrl | Yes | Deep link to review and publish the draft in the SenderKit editor. |