Freshdesk CLI for AI Agents

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Freshdesk logo
CLI logo
divider

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.

Supported Tools & Triggers

Tools
Add Note to TicketTool to add a private or public note to an existing ticket in Freshdesk.
Add Ticket User AccessTool to add agent access to a specific ticket in Freshdesk.
Add Watcher to TicketTool to add the authenticated user as a watcher to a Freshdesk ticket.
Bulk Unwatch TicketsTool to remove the authenticated user as a watcher from multiple Freshdesk tickets in bulk.
Bulk Update TicketsTool to update multiple tickets simultaneously in bulk.
Cancel Contact ImportTool to cancel an ongoing contact import operation in Freshdesk.
Create Admin GroupTool to create a new admin group in Freshdesk.
Create Admin GroupTool to create a new admin-level support agent group in Freshdesk.
Create Admin Ticket FieldTool to create a new custom ticket field in Freshdesk.
Create Admin Ticket Field SectionTool to create a new section within a ticket field in Freshdesk.
Create Multiple AgentsTool to create multiple agents in Freshdesk in a single bulk operation.
Create Canned ResponseTool to create a new canned response in Freshdesk.
Bulk Create Canned ResponsesTool to create multiple canned responses in bulk via asynchronous operation.
Create Canned Response FolderTool to create a new canned response folder in Freshdesk.
Create CompanyTool to create a new company in Freshdesk.
Create ContactTool to create a new contact in Freshdesk.
Create Contact FieldTool to create a new custom contact field in Freshdesk.
Create Discussion CategoryTool to create a new discussion category in Freshdesk forums.
Create Discussion Forum TopicTool to create a new topic in a Freshdesk discussion forum.
Create Discussion Topic CommentTool to create a new comment on a discussion forum topic.
Create Email MailboxTool to create a new email mailbox in Freshdesk.
Create ForumTool to create a new forum within a category in Freshdesk discussions.
Create SLA PolicyTool to create a new SLA (Service Level Agreement) policy in Freshdesk.
Create Solution ArticleTool to create a new solution article in a Freshdesk knowledge base folder.
Create Solution CategoryTool to create a new solution category in Freshdesk's knowledge base.
Create TicketCreates a new ticket in Freshdesk.
Create Ticket FormTool to create a new ticket form in Freshdesk.
Create Ticket via Outbound EmailTool to create a ticket by sending an outbound email to external recipients.
Create Ticket Time EntryTool to create a time entry for a specific ticket in Freshdesk.
Create Translated Solution CategoryTool to create a translated version of an existing solution category.
Currently Authenticated AgentTool to retrieve profile information for the currently authenticated agent.
Delete Admin GroupTool to delete an admin group from Freshdesk.
Delete AgentTool to permanently delete an agent from Freshdesk.
Delete Automation RulePermanently deletes an automation rule from Freshdesk by its type and rule ID.
Delete CompanyTool to permanently disband a company from Freshdesk.
Delete Company FieldTool to permanently delete a custom company field from Freshdesk.
Delete ContactTool to soft delete a contact from Freshdesk.
Delete Contact FieldPermanently delete a custom contact field from Freshdesk.
Delete ConversationTool to permanently delete a conversation from a ticket in Freshdesk.
Delete Discussion CategoryPermanently deletes a forum discussion category from Freshdesk.
Delete Discussion CommentTool to permanently delete a comment from a discussion in Freshdesk.
Delete Discussion ForumTool to permanently delete a discussion forum in Freshdesk.
Unmonitor ForumTool to unfollow/unmonitor a discussion forum in Freshdesk.
Unmonitor TopicTool to unfollow/unmonitor a discussion topic in Freshdesk.
Delete Discussion TopicTool to permanently delete a discussion topic in Freshdesk.
Delete Email MailboxTool to permanently delete an email mailbox from Freshdesk.
Delete GroupTool to permanently disband a group from Freshdesk.
Delete Multiple TicketsAsynchronously deletes multiple tickets in bulk.
Delete SectionTool to permanently delete a section from a ticket field in Freshdesk.
Delete SkillTool to permanently delete a skill from Freshdesk.
Delete Solution ArticleTool to permanently delete a solution article and its translated versions in Freshdesk.
Delete Solution CategoryPermanently delete a solution category from Freshdesk's knowledge base.
Delete Solution FolderTool to permanently delete a solution folder and its translated versions in Freshdesk.
Delete TicketTool to permanently delete a ticket from Freshdesk.
Delete Ticket FieldPermanently delete a custom ticket field from Freshdesk.
Delete Ticket FormTool to permanently delete a ticket form from Freshdesk.
Delete Ticket Form FieldTool to permanently delete a specific field from a ticket form in Freshdesk.
Delete Ticket SummaryTool to delete the AI-generated summary of a ticket in Freshdesk.
Delete Ticket User AccessTool to remove all agent access from a specific ticket in Freshdesk.
Delete Time EntryTool to permanently delete a time entry from Freshdesk.
Export ContactsTool to initiate an asynchronous export of contacts from Freshdesk to CSV file.
Get AccountTool to view Freshdesk account information.
Get AgentTool to retrieve detailed information about a specific agent by ID.
Get Agent AvailabilityTool to retrieve availability information for a specific agent.
Search Agents AutocompleteTool to search for agents using autocomplete functionality in Freshdesk.
Get Business HoursRetrieves all business hours configurations from Freshdesk.
Get Canned Response FoldersTool to retrieve all canned response folders from Freshdesk.
Get CompaniesTool to retrieve all companies from a Freshdesk account with pagination support.
Get CompanyTool to retrieve detailed information about a specific company by ID.
Get Company FieldsTool to retrieve all company fields configured in Freshdesk.
Get ContactTool to retrieve detailed information about a specific contact by ID.
Get Contact FieldsTool to retrieve all contact fields configured in Freshdesk.
Get ContactsTool to retrieve all contacts from a Freshdesk account.
Get Discussion CategoryTool to view details of a specific forum category in Freshdesk.
View Discussion TopicTool to retrieve detailed information about a specific discussion topic by ID.
Get Email MailboxTool to retrieve detailed information about a specific email mailbox by ID.
Get Folder ResponsesTool to retrieve all canned responses within a specific folder in Freshdesk.
Get Imported ContactsTool to retrieve details of all contact import operations in Freshdesk.
Get JobTool to view the status of a bulk job operation.
List All Scenario AutomationsTool to list all scenario-based automations in Freshdesk.
Filter TicketsTool to search and filter tickets in Freshdesk using flexible query syntax.
Get TicketsRetrieves a list of tickets from Freshdesk.
Get Ticket Time EntriesTool to retrieve all time entries for a specific ticket in Freshdesk.
Get Ticket User AccessTool to retrieve agent access information for a specific ticket in Freshdesk.
Get Translated Solution CategoryTool to view a translated solution category in Freshdesk.
Hard Delete ContactTool to permanently delete a contact from Freshdesk.
Import ContactTool to import contacts in bulk from a CSV file to Freshdesk.
List Admin GroupsTool to list all admin groups in Freshdesk.
List All Agents in a GroupTool to retrieve all agents associated with a specific group in Freshdesk.
List All Sections for a Ticket FieldTool to retrieve all dynamic sections for a specific ticket field in Freshdesk.
List All SkillsTool to retrieve all skills configured in Freshdesk account.
List All Ticket ConversationsTool to retrieve all conversations of a specific ticket in Freshdesk.
List Automation RulesTool to list all automation rules for a specific automation type in Freshdesk.
List All Forum CategoriesTool to retrieve all forum categories (discussions) from Freshdesk.
List All Topics in a ForumTool to retrieve all discussion topics within a specified forum in Freshdesk.
List Email MailboxesTool to retrieve all email mailbox configurations from Freshdesk account.
List All Email ConfigsRetrieve all email configurations from a Freshdesk account.
List Forums in CategoryTool to retrieve all forums within a specified category in Freshdesk.
List Monitored TopicsTool to retrieve all discussion topics that are monitored/followed by a specific user in Freshdesk.
List Participated TopicsTool to retrieve discussion topics that a user has participated in by creating or commenting.
List All ProductsTool to retrieve all products configured in Freshdesk account.
List All RolesTool to retrieve all roles available in the Freshdesk system with their permissions and details.
List Satisfaction RatingsTool to retrieve all customer satisfaction survey ratings from Freshdesk.
List All SLA PoliciesTool to retrieve all SLA (Service Level Agreement) policies in Freshdesk.
List Solution ArticlesTool to retrieve all solution articles within a specified folder in Freshdesk.
List Solution CategoriesTool to retrieve all solution categories in Freshdesk.
List Solution FoldersTool to retrieve all folders within a specified solution category in Freshdesk.
List Translated Category FoldersTool to retrieve all translated solution folders in a category.
List Solution SubfoldersTool to list all subfolders within a specific solution folder in Freshdesk.
List a Specific Section DetailsTool to retrieve details of a specific section within a ticket field in Freshdesk.
List All SurveysTool to retrieve all surveys from a Freshdesk account.
List All Ticket FieldsTool to list all ticket fields configured in Freshdesk.
List Ticket FormsTool to retrieve all ticket forms from Freshdesk.
List Ticket Satisfaction RatingsTool to list all satisfaction ratings of a ticket.
List Ticket WatchersTool to list all watchers subscribed to a specific Freshdesk ticket.
List Time EntriesTool 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 ArticlesTool to view all translated solution articles in a folder for a specific language.
List Translated SubfoldersTool to list all translated subfolders within a parent folder in Freshdesk.
Update Group AgentsTool to add or remove agents in a Freshdesk group.
Remove Watcher from TicketTool to remove the authenticated user as a watcher from a Freshdesk ticket.
Reply to Forward TicketTool to reply to or forward a ticket to external email addresses.
Reply to TicketTool to create a public reply to an existing support ticket in Freshdesk.
Search AgentsTool to search and filter agents in Freshdesk.
Search CompaniesTool to search and filter companies in Freshdesk using query strings with custom fields.
Search Companies AutocompleteTool to search for companies using autocomplete functionality in Freshdesk.
Search ContactsTool to search and filter contacts in Freshdesk using query-based search.
Search Contacts AutocompleteTool to search for contacts using autocomplete functionality in Freshdesk.
Search Solution ArticlesTool to search solution articles in Freshdesk knowledge base by keyword.
Toggle TimerTool to toggle the timer on a time entry to start or stop time tracking.
Update Admin GroupTool to update an existing admin-level support agent group in Freshdesk.
Update Admin Ticket FieldTool to update an existing ticket field configuration in Freshdesk.
Update Admin Ticket Field SectionTool to update a section within a ticket field in Freshdesk.
Update AgentTool to update an existing agent's information in Freshdesk.
Update Agent AvailabilityTool to update agent availability settings in Freshdesk.
Update Automation RuleTool to update an existing automation rule in Freshdesk.
Update Canned ResponseTool to update an existing canned response in Freshdesk.
Update Canned Response FolderUpdates the name of an existing canned response folder in Freshdesk.
Update CompanyTool to update an existing company's information in Freshdesk.
Update ContactTool to update an existing contact's information in Freshdesk.
Update Contact FieldTool to update a contact field's configuration in Freshdesk.
Make AgentTool to convert a contact into an agent in Freshdesk.
Update ConversationTool to update the content of a conversation note in Freshdesk.
Update Discussion CategoryTool to update an existing discussion category in Freshdesk forums.
Update Discussion CommentTool to update an existing comment in a discussion forum.
Update Discussion ForumTool to update an existing discussion forum in Freshdesk.
Update Discussion TopicTool to update an existing discussion topic in Freshdesk.
Update Email SettingsTool to update mailbox settings for email handling in Freshdesk.
Update Automatic BCC EmailsTool to update automatic BCC email addresses for all ticket communications in Freshdesk.
Update SLA PolicyTool to update an existing SLA (Service Level Agreement) policy in Freshdesk.
Update Solution CategoryTool to update an existing solution category in Freshdesk.
Update Solution FolderTool to update an existing solution folder in Freshdesk knowledge base.
Update Solution ArticleTool to update an existing solution article in Freshdesk.
Update TicketTool to update an existing ticket in Freshdesk.
Bulk Add Watcher to TicketsTool to add the authenticated user as a watcher to multiple tickets in a single bulk operation.
Update Ticket FormTool to update an existing ticket form in Freshdesk.
Update Ticket SummaryTool to update the AI-generated summary of a ticket in Freshdesk.
Update Ticket User AccessTool to update agent access to a specific ticket in Freshdesk by adding or removing agents.
Update Time EntryTool to update an existing time entry in Freshdesk.
View a Canned ResponseTool to view details of a specific canned response in Freshdesk.
View Automation RuleTool to view details of a specific automation rule in Freshdesk.
View a Business HourTool to retrieve a specific business hour configuration from Freshdesk.
View a Company FieldTool to retrieve details of a specific company field by ID.
View a Contact FieldTool to retrieve details of a specific contact field by ID.
View Email Mailbox SettingsTool to retrieve mailbox settings for the Freshdesk account.
View Email ConfigTool to view details of a specific email configuration in Freshdesk.
View GroupTool to view details of a specific admin group in Freshdesk.
View Automatic BCC EmailsTool to view automatic BCC email addresses configured in Freshdesk.
View ProductTool to retrieve detailed information about a specific product by ID.
View a RoleTool to view detailed information about a specific role by ID.
View Helpdesk SettingsTool to retrieve helpdesk settings from Freshdesk.
View a SkillTool to retrieve a specific skill from Freshdesk by ID.
View Solution CategoryTool to view a specific solution category by ID in Freshdesk.
View Solution FolderTool to view a specific solution folder by ID in Freshdesk.
View Solution ArticleTool to view a specific solution article by ID in Freshdesk.
View TicketViews an existing ticket in Freshdesk.
View a Ticket FieldTool to retrieve a single ticket field configuration from Freshdesk.
View a Ticket Form's FieldTool to retrieve a specific field from a ticket form in Freshdesk.

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

How to build Freshdesk MCP Agent with another framework

FAQ

What is the Composio Universal CLI?

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.

Which coding agents work with the Composio CLI?

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.

How is the CLI different from using an MCP server for Freshdesk?

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.

How safe is my Freshdesk data when using the Composio CLI?

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.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.

Freshdesk CLI for AI Agents