fluentcrm_custom_fields
Retrieve custom fields from FluentCRM to extend contact data and personalize marketing automation workflows.
Instructions
Pobiera pola niestandardowe
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fluentcrm_custom_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/fluentcrm-mcp-server.ts:1001-1002 (handler)MCP server tool handler switch case for 'fluentcrm_custom_fields' that invokes the FluentCRMClient's listCustomFields method and returns the JSON-stringified result as text content.
case 'fluentcrm_custom_fields': return { content: [{ type: 'text', text: JSON.stringify(await client.listCustomFields(), null, 2) }] }; - src/fluentcrm-mcp-server.ts:929-935 (registration)Registration of the 'fluentcrm_custom_fields' tool in the ListTools response, including name, description, and empty input schema.
name: 'fluentcrm_custom_fields', description: 'Pobiera pola niestandardowe', inputSchema: { type: 'object', properties: {}, }, }, - src/fluentcrm-mcp-server.ts:931-934 (schema)Input schema definition for the 'fluentcrm_custom_fields' tool, which accepts an empty object (no parameters required).
inputSchema: { type: 'object', properties: {}, }, - src/fluentcrm-mcp-server.ts:312-315 (helper)FluentCRMClient helper method that fetches the list of custom fields by making a GET request to the '/custom-fields' API endpoint.
async listCustomFields() { const response = await this.apiClient.get('/custom-fields'); return response.data; }