view_solution_category_folder
Access and view details of a specific solution category folder in Freshdesk by providing the folder ID. It enables streamlined management of support content and enhances organization of help articles.
Instructions
View a solution category folder in Freshdesk.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes |
Implementation Reference
- src/freshdesk_mcp/server.py:706-715 (handler)The main handler function for the 'view_solution_category_folder' tool. It is decorated with @mcp.tool(), which registers it with the FastMCP server. The function retrieves details of a solution category folder from the Freshdesk API by making a GET request to the /solutions/folders/{folder_id} endpoint.@mcp.tool() async def view_solution_category_folder(folder_id: int)-> Dict[str, Any]: """View a solution category folder in Freshdesk.""" 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.get(url, headers=headers) return response.json()