fluentcrm_pause_campaign
Pause a running FluentCRM email campaign to temporarily stop sending emails to contacts, allowing for campaign adjustments or troubleshooting.
Instructions
Wstrzymuje kampanię
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | ID kampanii |
Implementation Reference
- src/fluentcrm-mcp-server.ts:213-216 (handler)Core handler function that pauses a FluentCRM campaign by sending a POST request to the /campaigns/{campaignId}/pause API endpoint.async pauseCampaign(campaignId: number) { const response = await this.apiClient.post(`/campaigns/${campaignId}/pause`); return response.data; }
- src/fluentcrm-mcp-server.ts:711-720 (registration)Tool registration entry defining the name, description, and input schema for fluentcrm_pause_campaign.name: 'fluentcrm_pause_campaign', description: 'Wstrzymuje kampanię', inputSchema: { type: 'object', properties: { campaignId: { type: 'number', description: 'ID kampanii' }, }, required: ['campaignId'], }, },
- src/fluentcrm-mcp-server.ts:713-719 (schema)Input schema defining the required campaignId parameter of type number.inputSchema: { type: 'object', properties: { campaignId: { type: 'number', description: 'ID kampanii' }, }, required: ['campaignId'], },
- src/fluentcrm-mcp-server.ts:981-982 (handler)MCP server request handler case that dispatches to the client.pauseCampaign method.case 'fluentcrm_pause_campaign': return { content: [{ type: 'text', text: JSON.stringify(await client.pauseCampaign((args as any)?.campaignId), null, 2) }] };