create_canned_response_folder
Automate canned response organization in Freshdesk by creating custom folders, streamlining support workflows and enhancing ticket management efficiency.
Instructions
Create a canned response folder in Freshdesk.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Implementation Reference
- src/freshdesk_mcp/server.py:588-600 (handler)The main handler function for the 'create_canned_response_folder' tool, decorated with @mcp.tool(). It creates a new canned response folder in Freshdesk by sending a POST request to the API with the provided folder name.@mcp.tool() async def create_canned_response_folder(name: str)-> Dict[str, Any]: """Create a canned response folder 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()}" } data = { "name": name } async with httpx.AsyncClient() as client: response = await client.post(url, headers=headers, json=data) return response.json()