Skip to main content
Glama
effytech

Freshdesk MCP server

by effytech

update_solution_category_folder

Modify solution category folder details in Freshdesk to streamline support operations. Input folder ID and updated fields to adjust folder attributes efficiently.

Instructions

Update a solution category folder in Freshdesk.

Input Schema

NameRequiredDescriptionDefault
folder_fieldsYes
folder_idYes

Input Schema (JSON Schema)

{ "properties": { "folder_fields": { "title": "Folder Fields", "type": "object" }, "folder_id": { "title": "Folder Id", "type": "integer" } }, "required": [ "folder_id", "folder_fields" ], "title": "update_solution_category_folderArguments", "type": "object" }

Implementation Reference

  • The core handler function decorated with @mcp.tool(), which registers and implements the 'update_solution_category_folder' tool. It performs a PUT request to the Freshdesk API to update the specified solution category folder, with basic validation for the 'name' field.
    @mcp.tool() async def update_solution_category_folder(folder_id: int, folder_fields: Dict[str, Any])-> Dict[str, Any]: """Update a solution category folder in Freshdesk.""" if not folder_fields.get("name"): return {"error": "Name is required"} url = f"https://{FRESHDESK_DOMAIN}/api/v2/solutions/folders/{folder_id}" headers = { "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}" } async with httpx.AsyncClient() as client: response = await client.put(url, headers=headers, json=folder_fields) return response.json()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/effytech/freshdesk_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server