fluentcrm_list_email_templates
Retrieve email templates from FluentCRM to use in marketing campaigns and communications.
Instructions
Pobiera szablony email
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/fluentcrm-mcp-server.ts:746-752 (registration)Tool registration in the MCP tools list, including name, description, and input schema (no parameters required).name: 'fluentcrm_list_email_templates', description: 'Pobiera szablony email', inputSchema: { type: 'object', properties: {}, }, },
- src/fluentcrm-mcp-server.ts:987-988 (handler)MCP server request handler for tool calls. Matches the tool name and delegates execution to client.listEmailTemplates(), formatting the result as JSON text response.case 'fluentcrm_list_email_templates': return { content: [{ type: 'text', text: JSON.stringify(await client.listEmailTemplates(), null, 2) }] };
- src/fluentcrm-mcp-server.ts:230-233 (helper)Core implementation in FluentCRMClient class: makes a GET request to the '/email-templates' API endpoint and returns the data.async listEmailTemplates(params: any = {}) { const response = await this.apiClient.get('/email-templates', { params }); return response.data; }
- src/fluentcrm-mcp-server.ts:748-752 (schema)Input schema definition: empty object (no input parameters).inputSchema: { type: 'object', properties: {}, }, },