fluentcrm_delete_tag
Remove tags from contacts in FluentCRM marketing automation by specifying tag IDs to manage contact segmentation and organization.
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 in the CallToolRequestSchema switch statement that extracts tagId from arguments and calls client.deleteTag, returning the JSON response.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 defining the required 'tagId' parameter of type number.inputSchema: { type: 'object', properties: { tagId: { type: 'number', description: 'ID tagu' }, }, required: ['tagId'], },
- src/fluentcrm-mcp-server.ts:590-600 (registration)Tool registration in the ListTools response, 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:122-125 (helper)FluentCRMClient helper method that performs the actual DELETE API request to /tags/{tagId} and returns the response data.async deleteTag(tagId: number) { const response = await this.apiClient.delete(`/tags/${tagId}`); return response.data;