fluentcrm_list_email_templates
Retrieve email templates from FluentCRM to use in marketing campaigns and automated workflows.
Instructions
Pobiera szablony email
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/fluentcrm-mcp-server.ts:987-988 (handler)Tool handler in the switch statement that calls FluentCRMClient.listEmailTemplates() and formats the response as MCP content.case 'fluentcrm_list_email_templates': return { content: [{ type: 'text', text: JSON.stringify(await client.listEmailTemplates(), null, 2) }] };
- src/fluentcrm-mcp-server.ts:746-752 (registration)Registers the tool in the ListTools response with name, description, and empty input schema.name: 'fluentcrm_list_email_templates', description: 'Pobiera szablony email', inputSchema: { type: 'object', properties: {}, }, },
- src/fluentcrm-mcp-server.ts:230-233 (helper)Core implementation in FluentCRMClient that performs the API GET request to /email-templates endpoint.async listEmailTemplates(params: any = {}) { const response = await this.apiClient.get('/email-templates', { params }); return response.data; }