fluentcrm_create_tag
Create new tags in FluentCRM to organize and segment contacts for targeted marketing automation workflows.
Instructions
Tworzy nowy tag w FluentCRM
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Nazwa tagu (np. "AW-progress-75") | |
| slug | No | Slug tagu (np. "aw-progress-75") | |
| description | No | Opis tagu |
Implementation Reference
- src/fluentcrm-mcp-server.ts:109-116 (handler)Core handler function in FluentCRMClient that executes the tool logic: POST request to /tags endpoint with title, slug, description.async createTag(data: { title: string; slug?: string; description?: string; }) { const response = await this.apiClient.post('/tags', data); return response.data; }
- src/fluentcrm-mcp-server.ts:959-960 (handler)MCP server request handler dispatch case that invokes the client.createTag method with tool arguments.case 'fluentcrm_create_tag': return { content: [{ type: 'text', text: JSON.stringify(await client.createTag(args as any), null, 2) }] };
- src/fluentcrm-mcp-server.ts:577-589 (registration)Tool registration in the MCP tools list, including name, description, and input schema.{ name: 'fluentcrm_create_tag', description: 'Tworzy nowy tag w FluentCRM', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa tagu (np. "AW-progress-75")' }, slug: { type: 'string', description: 'Slug tagu (np. "aw-progress-75")' }, description: { type: 'string', description: 'Opis tagu' }, }, required: ['title'], }, },
- src/fluentcrm-mcp-server.ts:580-588 (schema)Input schema definition for validating tool arguments: requires title, optional slug and description.inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa tagu (np. "AW-progress-75")' }, slug: { type: 'string', description: 'Slug tagu (np. "aw-progress-75")' }, description: { type: 'string', description: 'Opis tagu' }, }, required: ['title'], },