> 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.

# CasePacer

> **Ready to connect**
>
> No custom OAuth app setup required. Sign in or provide your credentials to connect.

**Authentication:** Username and password. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow.

## Sample use cases

* Open a new case from an intake call and add the at-fault driver as a case party.
* List the ticklers due this week on the Martinez case and who owns each.
* Record a settlement offer on a case and log an activity note about the call.

## Available Tools

#### add_case_party

Create a case party. Required: lawsuit_id, party_id, lawsuit_party_type_id.

#### create_activity_log

Create an activity log entry. Required: lawsuit_id, activity_description.

#### create_appointment

Create an appointment. Required: subject, start_date, appointment_type_id.

#### create_case

Create a case (lawsuit). Required: lawsuit_number, lawsuit_type_id.

#### create_company

Create a company contact (insurer, medical practice, court, employer, etc.).

#### create_contact_info

Create a contact method. Required: party_id, contact_info_type_id, contact_type_id, contact_value.

#### create_counter_offer

Create a counter offer. Required: demand_id, counter_offer_amount.

#### create_demand

Create a demand. Required: negotiation_id.

#### create_expense

Create a case expense. Required: lawsuit_id, payee_party_id, expense_type_id, amount.

#### create_insurance_claim

Create an insurance claim. Required: insurance_policy_id, claim_number.

#### create_insurance_policy

Create an insurance policy. Required: lawsuit_id, insured_lawsuit_party_id, insurance_company_lawsuit_party_id, tied_to_lawsuit_party_id, policy_type, insurance_type.

#### create_lien

Create a lien or subrogation claim. Required: lawsuit_id, plaintiff_party_id, payment_type_id, type.

#### create_medical_provider

Create a medical provider. Required: lawsuit_id, plaintiff_party_id, medical_provider_company_party_id.

#### create_negotiation

Create a negotiation. Required: lawsuit_id.

#### create_person

Create a person contact (client, witness, adjuster, doctor, etc.).

#### create_settlement

Create a settlement. Required: lawsuit_id, plaintiff_party_id.

#### create_tickler

Create a tickler (task). Required: lawsuit_id, tickler_template_id, tickler_details, current_due_date.

#### create_treatment

Create a treatment. Required: medical_provider_id, treatment_date, treatment_amount.

#### create_treatment_note

Create a treatment note. Required: medical_provider_id, notes.

#### delete_activity_log

Permanently delete an activity log entry by activity_log_id.

#### delete_appointment

Permanently delete a one-off calendar appointment by appointment_id (and its Outlook copy when synced).

#### delete_case

Permanently delete a case (lawsuit) by lawsuit_id.

#### delete_contact

Permanently delete a contact (person or company) by party_id.

#### delete_contact_info

Permanently delete a contact method by contact_info_id.

#### delete_counter_offer

Permanently delete a counter offer by counter_offer_id.

#### delete_demand

Permanently delete a demand by demand_id.

#### delete_expense

Permanently delete a case expense by expense_id.

#### delete_insurance_claim

Permanently delete an insurance claim by insurance_claim_id.

#### delete_insurance_policy

Permanently delete an insurance policy by insurance_policy_id.

#### delete_lien

Permanently delete a lien or subrogation claim by lien_subrogation_id.

#### delete_medical_provider

Permanently delete a medical provider by medical_provider_id.

#### delete_negotiation

Permanently delete a negotiation by negotiation_id.

#### delete_record

Permanently delete a record (case document) by record_id.

#### delete_settlement

Permanently delete a settlement by settlement_id.

#### delete_tickler

Permanently delete a tickler (task) by tickler_id.

#### delete_treatment

Permanently delete a treatment by treatment_id.

#### delete_treatment_note

Permanently delete a treatment note by treatment_notes_id.

#### download_record_file

Deliver a stored CasePacer file (a case document's file) to the user through a platform file transfer, never inline.

#### get_activity_log

Get one activity log entry by activity_log_id, with every field (or only those named in fields, to keep the response small).

#### get_appointment

Get one appointment by appointment_id, with every field (or only those named in fields, to keep the response small).

#### get_case

Get one case (lawsuit) by lawsuit_id, with every field (or only those named in fields, to keep the response small).

#### get_case_brief

One-call briefing on a case: the case summary plus its active team, open ticklers (tasks), upcoming appointments and latest activity notes.

#### get_case_party

Get one case party by lawsuit_party_id, with every field (or only those named in fields, to keep the response small).

#### get_contact

Get one contact (person or company) by party_id with everything an agent needs about them: summary, notes, all phone numbers and emails, addresses, and the cases they are on with their role.

#### get_contact_info

Get one contact method by contact_info_id, with every field (or only those named in fields, to keep the response small).

#### get_counter_offer

Get one counter offer by counter_offer_id, with every field (or only those named in fields, to keep the response small).

#### get_current_user

Get the signed-in CasePacer user and their firm: party_id (use it as user_id when filtering ticklers or appointments to 'mine'), name, email, user type, role and time zone.

#### get_custom_field_value

Get one custom field value by custom_field_value_id, with every field (or only those named in fields, to keep the response small).

#### get_demand

Get one demand by demand_id, with every field (or only those named in fields, to keep the response small).

#### get_document

Get one generated document by document_id, with every field (or only those named in fields, to keep the response small).

#### get_expense

Get one case expense by expense_id, with every field (or only those named in fields, to keep the response small).

#### get_insurance_claim

Get one insurance claim by insurance_claim_id, with every field (or only those named in fields, to keep the response small).

#### get_insurance_policy

Get one insurance policy by insurance_policy_id, with every field (or only those named in fields, to keep the response small).

#### get_lien

Get one lien or subrogation claim by lien_subrogation_id, with every field (or only those named in fields, to keep the response small).

#### get_litigation

Get one litigation record by litigation_id, with every field (or only those named in fields, to keep the response small).

#### get_medical_provider

Get one medical provider by medical_provider_id, with every field (or only those named in fields, to keep the response small).

#### get_negotiation

Get one negotiation by negotiation_id, with every field (or only those named in fields, to keep the response small).

#### get_record

Get one record (case document) by record_id, with every field (or only those named in fields, to keep the response small).

#### get_record_file

Get one stored file by record_file_id, with every field (or only those named in fields, to keep the response small).

#### get_settlement

Get one settlement by settlement_id, with every field (or only those named in fields, to keep the response small).

#### get_tickler

Get one tickler (task) by tickler_id, with every field (or only those named in fields, to keep the response small).

#### get_treatment

Get one treatment by treatment_id, with every field (or only those named in fields, to keep the response small).

#### get_treatment_note

Get one treatment note by treatment_notes_id, with every field (or only those named in fields, to keep the response small).

#### get_user

Get one user by party_id, with every field (or only those named in fields, to keep the response small).

#### list_activity_log_types

List the firm's activity log entry types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_activity_logs

List case notes and the activity history (CasePacer's activity log).

#### list_address_types

List the firm's address labels. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_addresses

List non-deleted postal addresses for a contact by party_id, including address IDs and primary status.

#### list_appointment_event_subtypes

List the firm's appointment event sub-types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_appointment_types

List the firm's appointment types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_appointments

List calendar appointments (meetings, consultations, events) owned by users and optionally tied to a case.

#### list_calendar_entries

List the firm calendar as CasePacer shows it: appointments plus auto-generated deadline events (answers, hearings, depositions, trials).

#### list_case_custom_fields

List which custom fields appear on each case type, grouped and ordered (the custom_field_id a value needs).

#### list_case_emails

List emails filed to a case (headers; the message file is a record file).

#### list_case_parties

List the people and companies attached to a case, each with a role (plaintiff, attorney, paralegal, defendant, adjuster, provider...).

#### list_case_party_types

List the firm's the roles a party can hold on a case.

#### list_case_phase_history

List when a case entered each phase. Filter by lawsuit_id; sort with order_by; page with limit/offset (page_info.next_offset).

#### list_case_phases

List the firm's case phases. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_case_roles

List staff role assignments on a case (e.g. Secretary, Case Manager) from the firm's role templates.

#### list_case_sections

List the sections (tabs) each case type shows, grouped by phase: tells which areas of a case are in use.

#### list_case_types

List the firm's case types (Personal Injury, Medical Malpractice...).

#### list_contact_info_types

List the firm's contact method kinds (phone, email, fax...).

#### list_contact_infos

List phone numbers, emails and other contact methods on a contact.

#### list_contact_types

List the firm's contact method labels (home, work, mobile...).

#### list_counter_offer_types

List the firm's counter offer types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_counter_offers

List offers and counter-offers exchanged against a demand.

#### list_custom_field_definitions

List the firm's custom field definitions: name, data type and helper options.

#### list_custom_field_types

List the firm's custom field data types and which value column each uses.

#### list_custom_field_values

List custom field values stored on cases (firm-defined fields such as accident details or policy limits).

#### list_demands

List demand letters within a negotiation (letter sections and accepted/active status).

#### list_depositions

List depositions: deponent, location, reporter and transcript tracking.

#### list_discoveries

List written discovery sent and received, with due dates.

#### list_documents

List documents generated from firm templates (letters, notices) with sent/received tracking.

#### list_economic_losses

List lost wages and lost opportunity claimed for a plaintiff.

#### list_expense_types

List the firm's expense types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_expenses

List case costs advanced by the firm (filing fees, records, experts) and their payment status.

#### list_hearing_types

List the firm's hearing types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_hearings

List court hearings and their decisions.

#### list_insurance_claims

List claims against an insurance policy, with coverage limits and letter dates.

#### list_insurance_policies

List insurance policies on a case (plaintiff's and defendant's carriers).

#### list_lien_payment_types

List the firm's lien and subrogation payment types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_liens

List liens and subrogation claims (health insurers, Medicare, hospitals) against a plaintiff's recovery.

#### list_litigations

List filed lawsuits: court, judge, cause number and complaint dates.

#### list_medical_provider_totals

List per-provider medical totals on a case: billed, reductions, payments by source and unpaid balance.

#### list_medical_providers

List a plaintiff's treating medical providers on a case, with bills/records request tracking.

#### list_negotiations

List settlement negotiations on a case, usually one per insurance claim.

#### list_party_types

List the firm's contact (party) types and whether each applies to people, companies or users.

#### list_police_reports

List police report requests and receipt.

#### list_property_damages

List vehicle and property damage: repair estimates and costs.

#### list_record_files

List stored files behind case records, with name, size and folder.

#### list_record_folders

List document folders, per case or firm-wide.

#### list_record_subtypes

List the firm's document record sub-types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_record_types

List the firm's document record types. sort with order_by; page with limit/offset (page_info.next_offset).

#### list_records

List case documents (CasePacer records): each points at a stored file via record_file_id.

#### list_role_templates

List the firm's the firm's staff role templates per case type.

#### list_settlement_items

List per-claim line items of a settlement (amount, received, deposited).

#### list_settlements

List settlements reached for a plaintiff on a case, with amount and attorney fees.

#### list_sub_phases

List the firm's sub-phases within a phase, per case type.

#### list_tickler_templates

List the firm's the firm's tickler (task) templates and their due-date rules.

#### list_ticklers

List ticklers, CasePacer's case tasks with due dates.

#### list_treatment_notes

List dated notes on a medical provider's treatment.

#### list_treatments

List treatment visits and charges billed by a medical provider.

#### list_user_types

List the firm's user types (attorney, paralegal...). sort with order_by; page with limit/offset (page_info.next_offset).

#### list_users

List the firm's CasePacer users (attorneys, paralegals, staff).

#### read_record_file_text

Read a stored CasePacer file as extracted text (PDF, DOCX, XLSX, text), up to 25 MB.

#### remove_case_party

Detach a contact from a case by lawsuit_party_id: the contact itself is kept, only its role on this case is removed.

#### search_cases

List the firm's personal-injury cases (CasePacer calls them lawsuits).

#### search_contacts

List people and companies in the firm's contact book (CasePacer parties).

#### update_activity_log

Update an activity log entry by activity_log_id: only the fields you pass change; null leaves a field as is.

#### update_appointment

Update an appointment by appointment_id: only the fields you pass change; null leaves a field as is.

#### update_case

Update a case (lawsuit) by lawsuit_id: only the fields you pass change; null leaves a field as is.

#### update_case_party

Update a case party by lawsuit_party_id: only the fields you pass change; null leaves a field as is.

#### update_company

Update a company contact by party_id: only the fields you pass change; null leaves a field as is.

#### update_contact_info

Update a contact method by contact_info_id: only the fields you pass change; null leaves a field as is.

#### update_counter_offer

Update a counter offer by counter_offer_id: only the fields you pass change; null leaves a field as is.

#### update_custom_field_value

Update a custom field value by custom_field_value_id: only the fields you pass change; null leaves a field as is.

#### update_demand

Update a demand by demand_id: only the fields you pass change; null leaves a field as is.

#### update_expense

Update a case expense by expense_id: only the fields you pass change; null leaves a field as is.

#### update_insurance_claim

Update an insurance claim by insurance_claim_id: only the fields you pass change; null leaves a field as is.

#### update_insurance_policy

Update an insurance policy by insurance_policy_id: only the fields you pass change; null leaves a field as is.

#### update_lien

Update a lien or subrogation claim by lien_subrogation_id: only the fields you pass change; null leaves a field as is.

#### update_medical_provider

Update a medical provider by medical_provider_id: only the fields you pass change; null leaves a field as is.

#### update_negotiation

Update a negotiation by negotiation_id: only the fields you pass change; null leaves a field as is.

#### update_person

Update a person contact by party_id: only the fields you pass change; null leaves a field as is.

#### update_record

Update a record (case document) by record_id: only the fields you pass change; null leaves a field as is.

#### update_settlement

Update a settlement by settlement_id: only the fields you pass change; null leaves a field as is.

#### update_tickler

Update a tickler (task) by tickler_id: only the fields you pass change; null leaves a field as is.

#### update_treatment

Update a treatment by treatment_id: only the fields you pass change; null leaves a field as is.

#### update_treatment_note

Update a treatment note by treatment_notes_id: only the fields you pass change; null leaves a field as is.