Get Template
senderkit_templates_getLook up a template by slug: its channel, status, and current version's number, publish time, and declared variables (fill these in vars when sending). Rendered content is not included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Template slug (lowercase; slugs are canonicalized on creation). | |
| 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." |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Template slug — pass to senderkit_send / senderkit_templates_get. | |
| status | Yes | active = has a published version; draft = never published (sendable in test mode only); archived = retired. | |
| channel | Yes | The template's primary channel. | |
| updatedAt | Yes | When the template was last changed. | |
| description | Yes | Internal note, or null. | |
| currentVersion | Yes | The current version's metadata (rendered content is omitted to keep results small), or null when the template has no version yet. |