fluentcrm_delete_contact
Remove a contact from FluentCRM by specifying their subscriber ID to manage your marketing automation contact list.
Instructions
Usuwa kontakt z FluentCRM
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriberId | Yes | ID kontaktu do usunięcia |
Implementation Reference
- src/fluentcrm-mcp-server.ts:92-95 (handler)Core handler implementation in FluentCRMClient class that performs the DELETE API request to remove the contact by subscriber ID.async deleteContact(subscriberId: number) { const response = await this.apiClient.delete(`/subscribers/${subscriberId}`); return response.data; }
- src/fluentcrm-mcp-server.ts:955-956 (handler)MCP server tool dispatch handler that extracts subscriberId from args and calls client.deleteContact.case 'fluentcrm_delete_contact': return { content: [{ type: 'text', text: JSON.stringify(await client.deleteContact((args as any)?.subscriberId), null, 2) }] };
- src/fluentcrm-mcp-server.ts:553-563 (registration)Tool registration in the ListTools response, including name, description, and input schema.{ name: 'fluentcrm_delete_contact', description: 'Usuwa kontakt z FluentCRM', inputSchema: { type: 'object', properties: { subscriberId: { type: 'number', description: 'ID kontaktu do usunięcia' }, }, required: ['subscriberId'], }, },
- src/fluentcrm-mcp-server.ts:556-562 (schema)Input schema definition requiring subscriberId as number.inputSchema: { type: 'object', properties: { subscriberId: { type: 'number', description: 'ID kontaktu do usunięcia' }, }, required: ['subscriberId'], },