> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Freshsales

---

## Available Tools

#### create_account

Create an account (company). Requires a name, unique across the CRM.

#### create_appointment

Create an appointment. Requires title, from_date and end_date (ISO 8601).

#### create_contact

Create a contact. Supply at least a name or an email; email must be unique across the account.

#### create_deal

Create a deal. Requires name, amount, and sales_account_id (use list_accounts or create_account first).

#### create_note

Add a note to a contact, account or deal.

#### create_sales_activity

Log a sales activity against a contact, account or deal.

#### create_task

Create a task. Requires title and due_date (ISO 8601).

#### delete_account

Soft-delete an account by ID. The record is recoverable in Freshsales until it is permanently forgotten.

#### delete_appointment

Delete an appointment by ID. Use list_appointments to find the ID and confirm the appointment before deleting.

#### delete_contact

Soft-delete a contact by ID. The record is recoverable in Freshsales until it is permanently forgotten.

#### delete_deal

Soft-delete a deal by ID. The record is recoverable in Freshsales until it is permanently forgotten.

#### delete_note

Delete a note by ID (the ID returned by create_note).

#### delete_sales_activity

Delete a sales activity by ID. Use list_sales_activities to find the ID and confirm the activity before deleting.

#### delete_task

Delete a task by ID. Use list_tasks to find the ID and confirm the task before deleting.

#### get_account

Fetch one account (company) by ID, including name, website, address, owner and custom fields.

#### get_appointment

Fetch one appointment by ID, including title, start/end time, time zone, location and the related record.

#### get_contact

Fetch one contact by ID, including name, emails, phone numbers, owner and custom fields.

#### get_deal

Fetch one deal by ID, including name, amount, stage, pipeline, owner and custom fields. Use list_deals to find the ID.

#### get_sales_activity

Fetch one sales activity by ID, including title, times, type, outcome, owner and the related record.

#### get_task

Fetch one task by ID, including title, due date, status, owner and the related record. Use list_tasks to find the ID.

#### list_account_fields

List the account field definitions configured for the account, including custom fields and dropdown choices (e.g. industry_type_id option IDs).

#### list_account_views

List the account (company) views (filters) configured for the account, such as 'All Accounts' and 'My Accounts'.

#### list_accounts

List accounts (companies) from a Freshsales view (filter).

#### list_appointments

List appointments (meetings). filter 'upcoming' (default, soonest first) or 'past' (most recent first) mainly sets the order; check from_date.

#### list_contact_fields

List the contact field definitions configured for the account, including custom fields and their API names, labels and types.

#### list_contact_views

List the contact views (filters) configured for the account, such as 'All Contacts' and 'My Contacts'.

#### list_contacts

List contacts from a Freshsales view (filter).

#### list_deal_fields

List the deal field definitions configured for the account, including custom fields and dropdown choices (e.g. deal_type_id, deal_reason_id option IDs).

#### list_deal_pipelines

List the account's deal pipelines with their IDs and stages.

#### list_deal_stages

List deal stages with their IDs, for the default pipeline or a given deal_pipeline_id (from list_deal_pipelines).

#### list_deal_views

List the deal views (filters) configured for the account, such as 'All Deals' and 'Open Deals'.

#### list_deals

List deals from a Freshsales view (filter).

#### list_sales_activities

List logged sales activities (calls, meetings and custom activity types) with page-based pagination.

#### list_sales_activity_fields

List the sales activity field definitions, including which fields are required and dropdown choices such as outcome IDs.

#### list_sales_activity_types

List the sales activity types (e.g. phone, chat, and custom types) with their IDs.

#### list_tasks

List tasks by status filter: 'open' (default), 'due_today', 'due_tomorrow', 'overdue' or 'completed'.

#### update_account

Update an account by ID. Only the fields you supply change; omitted fields (passed as null) are left alone.

#### update_appointment

Update an appointment by ID: reschedule, rename, change location or related record.

#### update_contact

Update a contact by ID. Only the fields you supply change; omitted fields (passed as null) are left alone.

#### update_deal

Update a deal by ID. Only the fields you supply change; omitted fields (passed as null) are left alone.

#### update_note

Replace the text of a note by ID. The note ID comes from create_note; Freshsales has no endpoint to list notes.

#### update_sales_activity

Update a sales activity by ID. Only supplied fields change; omitted fields (null) are left alone.

#### update_task

Update a task by ID: change title, due date, owner or related record, or set `status=1` to mark it completed (0 reopens).