list_canned_response_folders
Retrieve all canned response folders in Freshdesk to streamline support ticket management. Enhance efficiency by accessing pre-defined templates for automated customer interactions.
Instructions
List all canned response folders in Freshdesk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"title": "list_canned_response_foldersArguments",
"type": "object"
}
Implementation Reference
- src/freshdesk_mcp/server.py:538-548 (handler)The main handler function for the 'list_canned_response_folders' MCP tool. It is registered via the @mcp.tool() decorator and fetches the list of canned response folders from the Freshdesk API v2 endpoint.@mcp.tool() async def list_canned_response_folders()-> list[Dict[str, Any]]: """List all canned response folders in Freshdesk.""" url = f"https://{FRESHDESK_DOMAIN}/api/v2/canned_response_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()