Freshdesk CLI for AI Agents

CLIs are eating MCPs. The industry is converging on the very same idea. MCPs for all their merit can be token hungry, slow, and unreliable for complex tool chaining. However, coding agents have become incredibly good at working with CLIs, and in fact they are far more comfortable working with CLI tools than MCP. With Composio's Universal CLI, your coding agents can talk to over 1000+ SaaS applications. With Freshdesk, agents can create a new ticket for a customer issue, list all open tickets assigned to me, update ticket status to resolved for ticket 12345, and more — all without worrying about authentication. This guide walks you through Composio Universal CLI and explains how you can connect it with coding agents like Claude Code, Codex, OpenCode, etc, for end-to-end Freshdesk automation.

Freshdesk logoFreshdesk
Api Key

Freshdesk is customer support software with ticketing and automation tools. It helps teams streamline helpdesk operations for faster, better customer support.

178 Tools

Introduction

CLIs are eating MCPs. The industry is converging on the very same idea. MCPs for all their merit can be token hungry, slow, and unreliable for complex tool chaining. However, coding agents have become incredibly good at working with CLIs, and in fact they are far more comfortable working with CLI tools than MCP.

With Composio's Universal CLI, your coding agents can talk to over 1000+ SaaS applications. With Freshdesk, agents can create a new ticket for a customer issue, list all open tickets assigned to me, update ticket status to resolved for ticket 12345, and more — all without worrying about authentication.

This guide walks you through Composio Universal CLI and explains how you can connect it with coding agents like Claude Code, Codex, OpenCode, etc, for end-to-end Freshdesk automation.

Also integrate Freshdesk with

What is Universal CLI and why use it?

The idea behind building the universal CLI is to give agents a single command interface to interact with all your external applications. Here's what you'll get with it:

  • Agent-friendly: Coding agents like Claude Code, Codex, and OpenCode can use CLI tools natively — no MCP setup required.
  • Authentication handled: Connect once via OAuth or API Key, and all CLI commands work with your credentials automatically.
  • Tool discovery: Search, inspect, and execute 20,000+ tools across 1000+ apps from one interface.
  • Trigger support: Use triggers to listen for events across your apps, powered by real-time webhooks or polling under the hood.
  • Type generation: Generate typed schemas for autocomplete and type safety in your projects.

Prerequisites

Install the Composio CLI, authenticate, and initialize your project:

bash
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash

# Authenticate with Composio
composio login

During login you'll be redirected to sign in page, finish the complete flow and you're all set.

Composio CLI authentication flow

Connecting Freshdesk to Coding Agents via Universal CLI

Once it is installed, it's essentially done. Claude Code, Codex, OpenCode, OpenClaw, or any other agent will be able to access the CLI. A few steps to give agents access to your apps.

  1. Launch your Coding Agent — Claude Code, Codex, OpenCode, anything you prefer.
  2. Prompt it to "Authenticate with Freshdesk"
  3. Complete the authentication and authorization flow and your Freshdesk integration is all set.
  4. Start asking anything you want.

Universal CLI Commands for Freshdesk

You can also manually execute CLI commands to interact with your Freshdesk.

Connect your Freshdesk account

Link your Freshdesk account and verify the connection:

bash
# Connect your Freshdesk account (opens OAuth flow)
composio connected-accounts link freshdesk

# Verify the connection
composio connected-accounts list --toolkits freshdesk

Discover Freshdesk tools

Search and inspect available Freshdesk tools:

bash
# List all available Freshdesk tools
composio tools list --toolkit freshdesk

# Search for Freshdesk tools by action
composio tools search "freshdesk"

# Inspect a tool's input schema
composio tools info FRESHDESK_CREATE_TICKET

Common Freshdesk Actions

Create TicketCreates a new ticket in freshdesk

bash
composio tools execute FRESHDESK_CREATE_TICKET \
  --subject "<string>" \
  --description "<string>"

Delete TicketDeletes an existing ticket in freshdesk

bash
composio tools execute FRESHDESK_DELETE_TICKET \
  --ticket_id "<integer>"

Get TicketsRetrieves a list of tickets from freshdesk

bash
composio tools execute FRESHDESK_GET_TICKETS \
  --page "1" \
  --email "<string>" \
  --filter "<string>" \
  --status "<integer>"

List All TicketsLists all tickets in freshdesk

bash
composio tools execute FRESHDESK_LIST_ALL_TICKETS

Generate Type Definitions

Generate typed schemas for Freshdesk tools to get autocomplete and type safety in your project:

bash
# Auto-detect language
composio generate --toolkits freshdesk

# TypeScript
composio ts generate --toolkits freshdesk

# Python
composio py generate --toolkits freshdesk

Tips & Tricks

  • Always inspect a tool's input schema before executing: composio tools info <TOOL_NAME>
  • Pipe output with jq for better readability: composio tools execute TOOL_NAME -d '{}' | jq
  • Set COMPOSIO_API_KEY as an environment variable for CI/CD pipelines
  • Use composio dev logs tools to inspect execution logs and debug issues

Next Steps

  • Try asking your coding agent to perform various Freshdesk operations
  • Explore cross-app workflows by connecting more toolkits
  • Set up triggers for real-time automation
  • Use composio generate for typed schemas in your projects
TOOLS

Supported Tools

Every Freshdesk action and event your agent gets out of the box.

Add Note to Ticket

Tool to add a private or public note to an existing ticket in Freshdesk.

Add Ticket User Access

Tool to add agent access to a specific ticket in Freshdesk.

Add Watcher to Ticket

Tool to add the authenticated user as a watcher to a Freshdesk ticket.

Bulk Unwatch Tickets

Tool to remove the authenticated user as a watcher from multiple Freshdesk tickets in bulk.

Bulk Update Tickets

Tool to update multiple tickets simultaneously in bulk.

Cancel Contact Import

Tool to cancel an ongoing contact import operation in Freshdesk.

Create Admin Group

Tool to create a new admin group in Freshdesk.

Create Admin Group

Tool to create a new admin-level support agent group in Freshdesk.

Create Admin Ticket Field

Tool to create a new custom ticket field in Freshdesk.

Create Admin Ticket Field Section

Tool to create a new section within a ticket field in Freshdesk.

Create Multiple Agents

Tool to create multiple agents in Freshdesk in a single bulk operation.

Create Canned Response

Tool to create a new canned response in Freshdesk.

Bulk Create Canned Responses

Tool to create multiple canned responses in bulk via asynchronous operation.

Create Canned Response Folder

Tool to create a new canned response folder in Freshdesk.

Create Company

Tool to create a new company in Freshdesk.

Create Contact

Tool to create a new contact in Freshdesk.

Create Contact Field

Tool to create a new custom contact field in Freshdesk.

Create Discussion Category

Tool to create a new discussion category in Freshdesk forums.

Create Discussion Forum Topic

Tool to create a new topic in a Freshdesk discussion forum.

Create Discussion Topic Comment

Tool to create a new comment on a discussion forum topic.

Create Email Mailbox

Tool to create a new email mailbox in Freshdesk.

Create Forum

Tool to create a new forum within a category in Freshdesk discussions.

Create SLA Policy

Tool to create a new SLA (Service Level Agreement) policy in Freshdesk.

Create Solution Article

Tool to create a new solution article in a Freshdesk knowledge base folder.

Create Solution Category

Tool to create a new solution category in Freshdesk's knowledge base.

Create Ticket

Creates a new ticket in Freshdesk.

Create Ticket Form

Tool to create a new ticket form in Freshdesk.

Create Ticket via Outbound Email

Tool to create a ticket by sending an outbound email to external recipients.

Create Ticket Time Entry

Tool to create a time entry for a specific ticket in Freshdesk.

Create Translated Solution Category

Tool to create a translated version of an existing solution category.

Currently Authenticated Agent

Tool to retrieve profile information for the currently authenticated agent.

Delete Admin Group

Tool to delete an admin group from Freshdesk.

Delete Agent

Tool to permanently delete an agent from Freshdesk.

Delete Automation Rule

Permanently deletes an automation rule from Freshdesk by its type and rule ID.

Delete Company

Tool to permanently disband a company from Freshdesk.

Delete Company Field

Tool to permanently delete a custom company field from Freshdesk.

Delete Contact

Tool to soft delete a contact from Freshdesk.

Delete Contact Field

Permanently delete a custom contact field from Freshdesk.

Delete Conversation

Tool to permanently delete a conversation from a ticket in Freshdesk.

Delete Discussion Category

Permanently deletes a forum discussion category from Freshdesk.

Delete Discussion Comment

Tool to permanently delete a comment from a discussion in Freshdesk.

Delete Discussion Forum

Tool to permanently delete a discussion forum in Freshdesk.

Unmonitor Forum

Tool to unfollow/unmonitor a discussion forum in Freshdesk.

Unmonitor Topic

Tool to unfollow/unmonitor a discussion topic in Freshdesk.

Delete Discussion Topic

Tool to permanently delete a discussion topic in Freshdesk.

Delete Email Mailbox

Tool to permanently delete an email mailbox from Freshdesk.

Delete Group

Tool to permanently disband a group from Freshdesk.

Delete Multiple Tickets

Asynchronously deletes multiple tickets in bulk.

Delete Section

Tool to permanently delete a section from a ticket field in Freshdesk.

Delete Skill

Tool to permanently delete a skill from Freshdesk.

Delete Solution Article

Tool to permanently delete a solution article and its translated versions in Freshdesk.

Delete Solution Category

Permanently delete a solution category from Freshdesk's knowledge base.

Delete Solution Folder

Tool to permanently delete a solution folder and its translated versions in Freshdesk.

Delete Ticket

Tool to permanently delete a ticket from Freshdesk.

Delete Ticket Field

Permanently delete a custom ticket field from Freshdesk.

Delete Ticket Form

Tool to permanently delete a ticket form from Freshdesk.

Delete Ticket Form Field

Tool to permanently delete a specific field from a ticket form in Freshdesk.

Delete Ticket Summary

Tool to delete the AI-generated summary of a ticket in Freshdesk.

Delete Ticket User Access

Tool to remove all agent access from a specific ticket in Freshdesk.

Delete Time Entry

Tool to permanently delete a time entry from Freshdesk.

Export Contacts

Tool to initiate an asynchronous export of contacts from Freshdesk to CSV file.

Get Account

Tool to view Freshdesk account information.

Get Agent

Tool to retrieve detailed information about a specific agent by ID.

Get Agent Availability

Tool to retrieve availability information for a specific agent.

Search Agents Autocomplete

Tool to search for agents using autocomplete functionality in Freshdesk.

Get Business Hours

Retrieves all business hours configurations from Freshdesk.

Get Canned Response Folders

Tool to retrieve all canned response folders from Freshdesk.

Get Companies

Tool to retrieve all companies from a Freshdesk account with pagination support.

Get Company

Tool to retrieve detailed information about a specific company by ID.

Get Company Fields

Tool to retrieve all company fields configured in Freshdesk.

Get Contact

Tool to retrieve detailed information about a specific contact by ID.

Get Contact Fields

Tool to retrieve all contact fields configured in Freshdesk.

Get Contacts

Tool to retrieve all contacts from a Freshdesk account.

Get Discussion Category

Tool to view details of a specific forum category in Freshdesk.

View Discussion Topic

Tool to retrieve detailed information about a specific discussion topic by ID.

Get Email Mailbox

Tool to retrieve detailed information about a specific email mailbox by ID.

Get Folder Responses

Tool to retrieve all canned responses within a specific folder in Freshdesk.

Get Imported Contacts

Tool to retrieve details of all contact import operations in Freshdesk.

Get Job

Tool to view the status of a bulk job operation.

List All Scenario Automations

Tool to list all scenario-based automations in Freshdesk.

Filter Tickets

Tool to search and filter tickets in Freshdesk using flexible query syntax.

Get Tickets

Retrieves a list of tickets from Freshdesk.

Get Ticket Time Entries

Tool to retrieve all time entries for a specific ticket in Freshdesk.

Get Ticket User Access

Tool to retrieve agent access information for a specific ticket in Freshdesk.

Get Translated Solution Category

Tool to view a translated solution category in Freshdesk.

Hard Delete Contact

Tool to permanently delete a contact from Freshdesk.

Import Contact

Tool to import contacts in bulk from a CSV file to Freshdesk.

List Admin Groups

Tool to list all admin groups in Freshdesk.

List All Agents in a Group

Tool to retrieve all agents associated with a specific group in Freshdesk.

List All Sections for a Ticket Field

Tool to retrieve all dynamic sections for a specific ticket field in Freshdesk.

List All Skills

Tool to retrieve all skills configured in Freshdesk account.

List All Ticket Conversations

Tool to retrieve all conversations of a specific ticket in Freshdesk.

List Automation Rules

Tool to list all automation rules for a specific automation type in Freshdesk.

List All Forum Categories

Tool to retrieve all forum categories (discussions) from Freshdesk.

List All Topics in a Forum

Tool to retrieve all discussion topics within a specified forum in Freshdesk.

List Email Mailboxes

Tool to retrieve all email mailbox configurations from Freshdesk account.

List All Email Configs

Retrieve all email configurations from a Freshdesk account.

List Forums in Category

Tool to retrieve all forums within a specified category in Freshdesk.

List Monitored Topics

Tool to retrieve all discussion topics that are monitored/followed by a specific user in Freshdesk.

List Participated Topics

Tool to retrieve discussion topics that a user has participated in by creating or commenting.

List All Products

Tool to retrieve all products configured in Freshdesk account.

List All Roles

Tool to retrieve all roles available in the Freshdesk system with their permissions and details.

List Satisfaction Ratings

Tool to retrieve all customer satisfaction survey ratings from Freshdesk.

List All SLA Policies

Tool to retrieve all SLA (Service Level Agreement) policies in Freshdesk.

List Solution Articles

Tool to retrieve all solution articles within a specified folder in Freshdesk.

List Solution Categories

Tool to retrieve all solution categories in Freshdesk.

List Solution Folders

Tool to retrieve all folders within a specified solution category in Freshdesk.

List Translated Category Folders

Tool to retrieve all translated solution folders in a category.

List Solution Subfolders

Tool to list all subfolders within a specific solution folder in Freshdesk.

List a Specific Section Details

Tool to retrieve details of a specific section within a ticket field in Freshdesk.

List All Surveys

Tool to retrieve all surveys from a Freshdesk account.

List All Ticket Fields

Tool to list all ticket fields configured in Freshdesk.

List Ticket Forms

Tool to retrieve all ticket forms from Freshdesk.

List Ticket Satisfaction Ratings

Tool to list all satisfaction ratings of a ticket.

List Ticket Watchers

Tool to list all watchers subscribed to a specific Freshdesk ticket.

List Time Entries

Tool to retrieve all time entries from Freshdesk with optional filtering by company, agent, execution time range, and billable status.

List Topic Comments (Paginated)

Tool to list all comments on a specific discussion topic with pagination support.

List Translated Solution Articles

Tool to view all translated solution articles in a folder for a specific language.

List Translated Subfolders

Tool to list all translated subfolders within a parent folder in Freshdesk.

Update Group Agents

Tool to add or remove agents in a Freshdesk group.

Remove Watcher from Ticket

Tool to remove the authenticated user as a watcher from a Freshdesk ticket.

Reply to Forward Ticket

Tool to reply to or forward a ticket to external email addresses.

Reply to Ticket

Tool to create a public reply to an existing support ticket in Freshdesk.

Search Agents

Tool to search and filter agents in Freshdesk.

Search Companies

Tool to search and filter companies in Freshdesk using query strings with custom fields.

Search Companies Autocomplete

Tool to search for companies using autocomplete functionality in Freshdesk.

Search Contacts

Tool to search and filter contacts in Freshdesk using query-based search.

Search Contacts Autocomplete

Tool to search for contacts using autocomplete functionality in Freshdesk.

Search Solution Articles

Tool to search solution articles in Freshdesk knowledge base by keyword.

Toggle Timer

Tool to toggle the timer on a time entry to start or stop time tracking.

Update Admin Group

Tool to update an existing admin-level support agent group in Freshdesk.

Update Admin Ticket Field

Tool to update an existing ticket field configuration in Freshdesk.

Update Admin Ticket Field Section

Tool to update a section within a ticket field in Freshdesk.

Update Agent

Tool to update an existing agent's information in Freshdesk.

Update Agent Availability

Tool to update agent availability settings in Freshdesk.

Update Automation Rule

Tool to update an existing automation rule in Freshdesk.

Update Canned Response

Tool to update an existing canned response in Freshdesk.

Update Canned Response Folder

Updates the name of an existing canned response folder in Freshdesk.

Update Company

Tool to update an existing company's information in Freshdesk.

Update Contact

Tool to update an existing contact's information in Freshdesk.

Update Contact Field

Tool to update a contact field's configuration in Freshdesk.

Make Agent

Tool to convert a contact into an agent in Freshdesk.

Update Conversation

Tool to update the content of a conversation note in Freshdesk.

Update Discussion Category

Tool to update an existing discussion category in Freshdesk forums.

Update Discussion Comment

Tool to update an existing comment in a discussion forum.

Update Discussion Forum

Tool to update an existing discussion forum in Freshdesk.

Update Discussion Topic

Tool to update an existing discussion topic in Freshdesk.

Update Email Settings

Tool to update mailbox settings for email handling in Freshdesk.

Update Automatic BCC Emails

Tool to update automatic BCC email addresses for all ticket communications in Freshdesk.

Update SLA Policy

Tool to update an existing SLA (Service Level Agreement) policy in Freshdesk.

Update Solution Category

Tool to update an existing solution category in Freshdesk.

Update Solution Folder

Tool to update an existing solution folder in Freshdesk knowledge base.

Update Solution Article

Tool to update an existing solution article in Freshdesk.

Update Ticket

Tool to update an existing ticket in Freshdesk.

Bulk Add Watcher to Tickets

Tool to add the authenticated user as a watcher to multiple tickets in a single bulk operation.

Update Ticket Form

Tool to update an existing ticket form in Freshdesk.

Update Ticket Summary

Tool to update the AI-generated summary of a ticket in Freshdesk.

Update Ticket User Access

Tool to update agent access to a specific ticket in Freshdesk by adding or removing agents.

Update Time Entry

Tool to update an existing time entry in Freshdesk.

View a Canned Response

Tool to view details of a specific canned response in Freshdesk.

View Automation Rule

Tool to view details of a specific automation rule in Freshdesk.

View a Business Hour

Tool to retrieve a specific business hour configuration from Freshdesk.

View a Company Field

Tool to retrieve details of a specific company field by ID.

View a Contact Field

Tool to retrieve details of a specific contact field by ID.

View Email Mailbox Settings

Tool to retrieve mailbox settings for the Freshdesk account.

View Email Config

Tool to view details of a specific email configuration in Freshdesk.

View Group

Tool to view details of a specific admin group in Freshdesk.

View Automatic BCC Emails

Tool to view automatic BCC email addresses configured in Freshdesk.

View Product

Tool to retrieve detailed information about a specific product by ID.

View a Role

Tool to view detailed information about a specific role by ID.

View Helpdesk Settings

Tool to retrieve helpdesk settings from Freshdesk.

View a Skill

Tool to retrieve a specific skill from Freshdesk by ID.

View Solution Category

Tool to view a specific solution category by ID in Freshdesk.

View Solution Folder

Tool to view a specific solution folder by ID in Freshdesk.

View Solution Article

Tool to view a specific solution article by ID in Freshdesk.

View Ticket

Views an existing ticket in Freshdesk.

View a Ticket Field

Tool to retrieve a single ticket field configuration from Freshdesk.

View a Ticket Form's Field

Tool to retrieve a specific field from a ticket form in Freshdesk.

FAQ

Frequently asked questions

The Composio Universal CLI is a single command-line interface that lets coding agents and developers interact with 1000+ SaaS applications. It handles authentication, tool discovery, action execution, and trigger setup — all from the terminal, without needing to configure MCP servers.

Any coding agent that can run shell commands works with the Composio CLI — including Claude Code, Codex, OpenCode, OpenClaw, and others. Once the CLI is installed, agents automatically discover and use the composio commands to interact with Freshdesk and other connected apps.

MCP servers require configuration and can be token-heavy for complex workflows. The CLI gives agents a direct, lightweight interface — no server setup needed. Agents simply call composio commands like any other shell tool. It's faster to set up, more reliable for multi-step tool chaining, and works natively with how coding agents already operate.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Freshdesk data and credentials are handled as safely as possible. You can also bring your own OAuth credentials for full control.

Start with Freshdesk.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Freshdesk tool your agent needs.Free to start.

Start building