fluentcrm_create_list
Create a new contact list in FluentCRM to organize subscribers for targeted email marketing campaigns.
Instructions
Tworzy nową listę w FluentCRM
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": {
"title": "<title>"
},
"name": "fluentcrm_create_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Nazwa listy | |
| slug | No | Slug listy | |
| description | No | Opis listy |
Implementation Reference
- src/fluentcrm-mcp-server.ts:156-162 (handler)Core implementation of the tool logic: creates a new list via POST to FluentCRM /lists API endpoint using the apiClient.
async createList(data: { title: string; slug?: string; description?: string; }) { const response = await this.apiClient.post('/lists', data); return response.data; - src/fluentcrm-mcp-server.ts:635-647 (registration)Tool registration in the MCP server's tools list, including name, description, and input schema.
{ name: 'fluentcrm_create_list', description: 'Tworzy nową listę w FluentCRM', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa listy' }, slug: { type: 'string', description: 'Slug listy' }, description: { type: 'string', description: 'Opis listy' }, }, required: ['title'], }, }, - src/fluentcrm-mcp-server.ts:969-970 (handler)MCP request handler switch case that delegates to the client.createList method and formats the response.
case 'fluentcrm_create_list': return { content: [{ type: 'text', text: JSON.stringify(await client.createList(args as any), null, 2) }] }; - src/fluentcrm-mcp-server.ts:638-646 (schema)Input schema definition for the fluentcrm_create_list tool.
inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa listy' }, slug: { type: 'string', description: 'Slug listy' }, description: { type: 'string', description: 'Opis listy' }, }, required: ['title'], },