fluentcrm_delete_tag
Remove a tag from FluentCRM marketing automation by specifying the tag ID to manage contact organization and segmentation.
Instructions
Usuwa tag z FluentCRM
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | ID tagu |
Implementation Reference
- src/fluentcrm-mcp-server.ts:961-962 (handler)MCP tool handler case that executes fluentcrm_delete_tag by calling client.deleteTag with the provided tagId from arguments.case 'fluentcrm_delete_tag': return { content: [{ type: 'text', text: JSON.stringify(await client.deleteTag((args as any)?.tagId), null, 2) }] };
- src/fluentcrm-mcp-server.ts:593-599 (schema)Input schema definition for fluentcrm_delete_tag tool, requiring a numeric tagId.inputSchema: { type: 'object', properties: { tagId: { type: 'number', description: 'ID tagu' }, }, required: ['tagId'], },
- src/fluentcrm-mcp-server.ts:590-600 (registration)Registration of the fluentcrm_delete_tag tool in the MCP server's tools list, including name, description, and input schema.{ name: 'fluentcrm_delete_tag', description: 'Usuwa tag z FluentCRM', inputSchema: { type: 'object', properties: { tagId: { type: 'number', description: 'ID tagu' }, }, required: ['tagId'], }, },
- src/fluentcrm-mcp-server.ts:123-126 (helper)Core helper method in FluentCRMClient that performs the actual API deletion of a tag by ID via DELETE /tags/{tagId}.async deleteTag(tagId: number) { const response = await this.apiClient.delete(`/tags/${tagId}`); return response.data; }