fluentcrm_delete_list
Remove a contact list from your FluentCRM marketing automation system by specifying the list ID to maintain organized contact management.
Instructions
Usuwa listę z FluentCRM
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listId | Yes | ID listy |
Implementation Reference
- src/fluentcrm-mcp-server.ts:170-173 (handler)Core handler function in FluentCRMClient that deletes a list via the FluentCRM REST API DELETE /lists/{listId}.async deleteList(listId: number) { const response = await this.apiClient.delete(`/lists/${listId}`); return response.data; }
- src/fluentcrm-mcp-server.ts:971-972 (handler)MCP server dispatch handler that calls the client.deleteList method and formats the response.case 'fluentcrm_delete_list': return { content: [{ type: 'text', text: JSON.stringify(await client.deleteList((args as any)?.listId), null, 2) }] };
- src/fluentcrm-mcp-server.ts:648-658 (registration)Tool registration entry in the MCP tools list, including name, description, and input schema.{ name: 'fluentcrm_delete_list', description: 'Usuwa listę z FluentCRM', inputSchema: { type: 'object', properties: { listId: { type: 'number', description: 'ID listy' }, }, required: ['listId'], }, },
- src/fluentcrm-mcp-server.ts:651-657 (schema)Input schema defining the required listId parameter of type number.inputSchema: { type: 'object', properties: { listId: { type: 'number', description: 'ID listy' }, }, required: ['listId'], },