fluentcrm_list_lists
Retrieve all contact lists from FluentCRM to manage email marketing segments and organize subscribers for targeted campaigns.
Instructions
Pobiera wszystkie listy z FluentCRM
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/fluentcrm-mcp-server.ts:146-149 (handler)Core handler function in FluentCrmClient that retrieves lists from the FluentCRM API via GET /lists endpoint.async listLists(params: any = {}) { const response = await this.apiClient.get('/lists', { params }); return response.data; }
- src/fluentcrm-mcp-server.ts:627-634 (registration)Registration of the tool in the MCP server's tools list, defining name, description, and empty input schema.{ name: 'fluentcrm_list_lists', description: 'Pobiera wszystkie listy z FluentCRM', inputSchema: { type: 'object', properties: {}, }, },
- src/fluentcrm-mcp-server.ts:967-968 (handler)Dispatch handler in MCP server's CallToolRequestSchema that calls client.listLists() and returns JSON-formatted response.case 'fluentcrm_list_lists': return { content: [{ type: 'text', text: JSON.stringify(await client.listLists(), null, 2) }] };