list_solution_folders
Retrieve solution folders within a specified category in Freshdesk to organize and manage support articles effectively. Simplifies navigation and maintenance of help center content.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes |
Implementation Reference
- src/freshdesk_mcp/server.py:630-642 (handler)The handler function decorated with @mcp.tool() that implements the list_solution_folders tool. It fetches solution folders for the given category_id from the Freshdesk API.@mcp.tool() async def list_solution_folders(category_id: int)-> list[Dict[str, Any]]: if not category_id: return {"error": "Category ID is required"} """List all solution folders in Freshdesk.""" url = f"https://{FRESHDESK_DOMAIN}/api/v2/solutions/categories/{category_id}/folders" headers = { "Authorization": f"Basic {base64.b64encode(f'{FRESHDESK_API_KEY}:X'.encode()).decode()}" } async with httpx.AsyncClient() as client: response = await client.get(url, headers=headers) return response.json()