NeurLead NeurLead

Documentation

NeurLead connector reference

What the connector does, what you give it, and every tool it offers. The tool table below is generated from the running server, so it is always current.

What it is

NeurLead is a CRM and AI dispatcher for home-service businesses of any trade, anywhere in the US. The connector is a remote MCP server (Streamable HTTP) at https://aidispatch.us/connect/mcp. Your AI assistant (Claude, ChatGPT or any MCP client) uses it to work with one NeurLead workspace: yours.

Connect

Your AI plan

Your AI app must allow a custom connector. ChatGPT needs a paid plan: the free plan has no connector option, so it cannot connect. For Claude, Muse and other apps it depends on your plan and country, so look for a custom connector (MCP) option in yours. The limit is in the AI app, not in NeurLead.

  1. Claude: Customize → Connectors → Add custom connector → paste the address.
  2. ChatGPT: chatgpt.com/plugins → + → Add custom MCP server → paste the address, authentication OAuth.
  3. In the window that opens, type your workspace name (the part of your CRM address after /t/), sign in as its owner, tick the rights and press Allow selected.

Sign-in is OAuth 2.0 with PKCE and dynamic client registration; your password never goes to the AI. Access tokens last one hour, refresh tokens thirty days. No workspace yet? Create one.

Rights you give

You tick them on the consent screen. Through this address only “look” and “notes and tasks” are ticked at the start. To give more later, the owner switches the right on in the CRM (Integrations → AI agents → this app → rights); it works from the next call, no reconnecting.

Look at your data (ticked at the start)

  • leads:read — Read leads
  • chats:read — Read lead chats and notes
  • calls:read — Read calls, transcripts and recordings
  • catalog:read — Read technicians, the price list and dictionaries
  • reports:read — Read reports (revenue, unpaid invoices, funnel, schedule)
  • schedule:read — Read technician schedules (booked visits, free time)
  • companies:read — Read companies and their leads

Keep notes and tasks for your team (ticked at the start)

  • notes:write — Add internal notes to leads
  • tasks:write — Create tasks for the team

Prepare things for you to review

  • leads:create — Create leads
  • leads:write — Update lead fields (name, contact, address, tags, assigned dispatcher)
  • status:write — Change a lead status (funnel stage), close a lead with a reason
  • companies:write — Create and update companies, link leads to them
  • files:write — Attach files to leads (photos, documents)
  • estimates:draft — Create draft estimates — a person reviews and sends
  • invoices:draft — Create draft invoices — a person reviews and sends

Reach customers or touch money (a person approves each one)

  • chat:write — Reply to customers in a lead chat (sent only after the dispatcher approves, unless the owner sets the app to autonomous)
  • chats:write — Send messages to customers in lead chats (dispatcher approval required)
  • estimates:send — Send estimates to customers (under the app's mode) or void them (always approved by the owner)
  • invoices:send — Send invoices to customers (under the app's mode: approval by default)
  • invoices:mark_paid — Record payments on invoices (under the app's mode)
  • invoices:void — Void invoices (always approved by the owner)
  • calls:create — Place calls to customers through the dispatcher's phone (under the app's mode)
  • visits:write — Book visits — a person confirms, then the customer gets the booking text

See money details and team pay

  • money:read — Read estimates and invoices (amounts, status, items)
  • team:read — Read the team: staff, technicians with areas and rates, timesheets, payroll totals

Change settings, prices and the team

  • prices:write — Change the price list (always approved by the owner)
  • setup:write — Set the workspace up: company profile, price list, work hours, team, AI persona (before go-live at once; after go-live the owner approves each change)
  • team:write — Change the team: technicians, their areas, staff logins and toggles (no payroll marks, no passwords)
  • campaigns:write — Draft SMS campaigns with audience preview; the owner approves every start
  • webhooks:manage — Register its own webhook endpoints so the CRM can call it on new leads and replies

Safety

Your workspace only

The token names your workspace and is looked up only in its database. Nobody else’s AI can reach yours.

A person approves the risky parts

Recording a payment made outside the CRM, voiding invoices and estimates, booking visits, starting a campaign, changing prices and changing setup after go-live always wait for a person, in every mode. Sending an invoice or estimate follows the mode you chose: suggest only, ask first, or act itself. Messages on sensitive topics (refunds, cancellations, complaints, damage, contracts, card numbers) always go to a person.

Modes

Per connected app: suggest only (default: the AI writes a draft), ask first (a person confirms in the CRM) or act itself (owner’s explicit choice).

Limits

120 requests a minute per token; at most 3 AI messages per lead per day, one without a customer reply in between, 200 per company per day.

Audit and revoke

Every call is logged in your workspace with the AI’s name. Revoke any time: CRM → Integrations → AI agents → Connected apps → Revoke. It takes effect at once.

No money movement

There is no charge, refund or payout tool. “Record a payment” only notes a payment the customer made outside the CRM, and waits for approval.

Tools

Each tool declares whether it only reads, adds, changes records, or reaches a customer or an outside party. Your AI app sees the whole list; each call is checked against the rights you gave, and a missing right answers with what to switch on. Open a tool to see its full description and every parameter.

Read only

Look at your workspace; change nothing.

ToolWhat it doesRight needed
list_leads
List leads with rich filters

Recent leads, newest first. Filter by status, source (instagram, facebook, thumbtack, yelp, google, website, etc.), channel, city, category/service, assigned dispatcher, assigned technician (tech_id), customer phone, or general search query (name/phone/email/description).

  • status — Status value; valid values are listed in the schema or by get_dictionaries
  • source — Lead source e.g. instagram, facebook, thumbtack, yelp, google, website, other
  • channel — Communication channel
  • city — Customer city e.g. Miami
  • category — Service or category filter e.g. shower door, plumbing
  • assigned_to — Dispatcher username e.g. farrukh
  • tech_id — Technician id from list_technicians
  • phone — Customer phone number (full or partial digits)
  • query — Search term matched across customer name, email, phone or notes
  • folder — Dashboard tab: inbox | hiring | ads
  • since — YYYY-MM-DD
  • until — YYYY-MM-DD
  • limit — Maximum number of results to return
leads:read
get_lead
Get a lead with its chat and notes

The lead card, every message in its chat (all channels), dispatcher/agent notes, the calls with their structured outcome and transcript (when the key has calls:read), and the list of valid statuses.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
leads:read
list_webhooks
List my webhook endpoints

Endpoints this agent registered, with last delivery status and failure counts.

No parameters.

webhooks:manage
search
Search the CRM

Find leads by name, phone, address, email or words in their chat messages (the dashboard search). Start here for "find Julie". Returns results with id (use with fetch / get_lead), title, url and the key card fields.

  • query — What to look for
  • q — Same as query
  • folder — Only this dashboard tab
  • limit — Maximum number of results to return
leads:read
fetch
Fetch a lead by id

Full text of one lead card by the id from search (lead-123 or 123): details, notes and the recent chat, plus url and metadata. For a structured card use get_lead.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
leads:read
list_technicians
List technicians

Active technicians: name, phone, skills, home ZIP, service areas, rating.

No parameters.

catalog:read
get_price_list
Price list

The CRM price list and hourly terms. Quote from here, never from memory. Pass source=thumbtack for Thumbtack rates.

  • source — Where the lead came from, e.g. google, thumbtack, website
catalog:read
get_dictionaries
Dictionaries

The valid values to use in other tools: lead statuses, lead sources, service cities, dispatcher usernames, channels and temperatures. Read it once before filtering or updating leads.

No parameters.

catalog:read
list_calls
Calls of a lead

Calls on a lead card: direction, duration, status, summary, whether a recording/transcript exists.

  • id required — Lead (customer card) id whose records to list, from search, list_leads or get_waiting
calls:read
list_neuro_sessions
AI assistant conversations

Live conversations of the CRM's AI assistant with customers (voice, camera or chat), newest first: when, how long, how it ended, which tools the assistant called, whether it handed the customer to a person or opened a booking. Text only; phones masked.

  • days — Number of days to look at
  • limit — Maximum number of results to return
  • customer_id — Customer id
calls:read
get_neuro_session
AI assistant conversation

One live conversation of the CRM's AI assistant read back line by line: what the customer said, what the assistant answered, every tool call with its arguments and the result it got.

  • id required — Conversation id (from list_neuro_sessions)
calls:read
get_call
Call details

Transcript, AI summary and a signed recording link valid for 1 hour.

  • id required — Call id (from list_calls or get_lead)
calls:read
get_reports_summary
Reports summary

Revenue for the period, unpaid and overdue invoices (list), lead funnel by status and source, jobs today/tomorrow, technician load for 7 days.

  • days — Number of days to look at
reports:read
get_audit_log
Who changed what

Status changes (who/when/source), agent actions and system notes on a lead.

  • lead_id required — Lead (customer card) id, from search, list_leads or get_waiting
  • limit — Maximum number of results to return
leads:read
list_tasks
Open tasks

Open tasks (callbacks and reminders) with their lead, assignee and due time, oldest due first. Pass assignee to see one person's list.

  • assignee — Dispatcher username to assign to (see get_dictionaries)
tasks:write
list_estimates
Estimates of a lead

Estimates on the card with status, totals and line items.

  • id required — Lead (customer card) id whose records to list, from search, list_leads or get_waiting
money:read
list_invoices
Invoices of a lead

Invoices on the card with status, paid/due amounts and line items.

  • id required — Lead (customer card) id whose records to list, from search, list_leads or get_waiting
money:read
get_estimate
Estimate details

One estimate by id: its status, customer, line items, totals and deposit.

  • id required — Estimate id (from list_estimates or find_estimates)
money:read
get_invoice
Invoice details

One invoice by id: its status, customer, line items, totals, amount paid and amount due.

  • id required — Invoice id (from list_invoices or find_invoices)
money:read
list_campaigns
List campaigns

SMS campaigns of the workspace with their status and counters (audience, sent, replies).

No parameters.

campaigns:write
get_campaign
Campaign details

One SMS campaign by id: its text, audience filter, status, counters and a fresh preview of how many people it would reach and what it would cost.

  • id required — Campaign id (from list_campaigns)
campaigns:write
list_companies
Find companies

Search companies (B2B customers) by name, city, phone or email.

  • q — Search words
  • limit — Maximum number of results to return
companies:read
get_company
Company with its leads

One company (B2B customer such as a property manager or builder) by id, with its contacts and every lead linked to it.

  • id required — Company id (from list_companies)
companies:read
get_thread
Conversation of a lead

Every message on the card across channels, each with its author (customer / dispatcher / agent / automation), time and attachments, plus who wrote last, whether the customer is waiting for a reply, and the last customer message. Read this before writing so you never repeat the dispatcher.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • since — Start of the period: date YYYY-MM-DD or ISO date-time
  • include_system — Include automatic system events (true/false)
leads:read
get_payments
Payments of a lead

Deposit (requested? paid? when?), every invoice with status and balance, payments by method incl. Stripe, totals paid and due. Check the $50 deposit here before confirming a visit.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
money:read
find_estimates
Find estimates across all cards

Estimates of every card (newest first), filter by status and date. Use for "which estimates are still unanswered?". Each row counts against the hourly read budget.

  • status — One or more statuses, comma separated, e.g. sent,overdue
  • since — ISO date: only documents created on or after it
  • lead_id — Lead (customer card) id, from search, list_leads or get_waiting
  • limit — Maximum number of results to return
money:read
find_invoices
Find invoices across all cards

Invoices of every card (newest first), filter by status (draft, sent, overdue, partially_paid, paid, void) and date. Use for "which invoices are unpaid?". Each row counts against the hourly read budget.

  • status — One or more statuses, comma separated, e.g. sent,overdue
  • since — ISO date: only documents created on or after it
  • lead_id — Lead (customer card) id, from search, list_leads or get_waiting
  • limit — Maximum number of results to return
money:read
find_payments
Recent payments across all cards

Payments recorded on invoices, newest first, with method and the card they belong to. Use for "what was paid this week?".

  • since — Start of the period: date YYYY-MM-DD or ISO date-time
  • limit — Maximum number of results to return
money:read
get_schedule
Technician schedule

Busy time per active technician (booked visits and time off) between from and to (ISO, at most 31 days; default the next 7). Free = working hours not listed.

  • from — Start date, YYYY-MM-DD
  • to — End date, YYYY-MM-DD
  • technician_id — Technician id (from get_team or list_technicians)
schedule:read
get_changes
What changed since

New leads, customer messages, status changes, payments, logged calls (with summary) and FAILED sends since a moment, oldest first. Pass next_since back on the next call. An empty answer is free. Prefer register_webhook for live events.

  • since required — Start of the period: date YYYY-MM-DD or ISO date-time
  • limit — Maximum number of results to return
leads:read
get_dispatch_radar
What is burning right now

One look at what needs a dispatcher this minute: visits that started 15+ minutes ago with nobody en route, estimates sent 30+ minutes ago with no customer reply, finished jobs with no photos, and tomorrow's jobs that are not confirmed or whose deposit is not paid. Read-only. Ask it when someone says «what is on fire».

No parameters.

schedule:read
recommend_technician
Who should go to this lead

Ranks the active technicians for a lead by skills, same city, free at the proposed time, workload and distance, with the reasons. Read-only: it only suggests; assign with update_lead (assigned_tech_id) or book_visit.

  • lead_id required — Lead (customer card) id, from search, list_leads or get_waiting
schedule:read
get_waiting
Who is waiting

One list of everything that must not wait in silence: customers without a reply (with minutes waiting and the Instagram 24-hour window left), replies that FAILED to send, overdue callbacks, untouched new leads. Urgent items first. Start every shift here.

  • limit — Maximum number of results to return
leads:read
lookup
Find a person

Exact match by phone (any number on the card), email or name: has this person written before, from which channel, what status. Use before the first contact.

  • phone — Phone number, 10-digit US; +1 optional
  • email — Email address
  • name — Name
leads:read
list_files
Files of a lead

Chat photos, technician photo reports, documents attached to the card (COI, W-9…) with links.

  • id required — Lead (customer card) id whose records to list, from search, list_leads or get_waiting
leads:read
get_setup
Setup status — START HERE to configure a workspace

Call this first when asked to set up / configure / onboard the CRM. Returns the company profile as saved, counts (prices, technicians, staff), working hours, `todo` (what is still missing, each with the tool that fixes it), `human_steps` (clicks only the owner can make: Thumbtack, phone number, card payments — with where in the CRM), `settings_keys` (every profile key with what to ask) and `playbook` (how to run the setup). Follow the playbook.

No parameters.

setup:write
get_blocks
The workspace as blocks — what is on, what is not, who can switch it on

Telephony, texting, card payments, Thumbtack, email and the platforms NeurLead connects with the owner (Yelp, Angi, Google Local Services, Facebook lead ads, QuickBooks, Zapier…): each with status connected / not_connected / we_connect_with_you, what it gives the owner, who can switch it on (the owner's own login) and where. Walk the owner through it; for anything missing call send_feedback with kind "integration".

No parameters.

setup:write
get_phone_setup
Twilio phone status, balance, and available numbers

Check phone pricing, balance, existing numbers, and A2P status. Pass areaCode or zip (and optional type local|toll_free) to list available Twilio numbers (1, 2, 3…) the owner can pick from. For custom third-party telephony by API keys, tell the owner to contact management.

  • areaCode — 3-digit US area code
  • zip — 5-digit US ZIP code
  • type — Type; valid values are listed in the schema
  • limit — Maximum number of results to return
setup:write
get_crm_migration_playbooks
Get CRM migration guides (Housecall Pro, Jobber, Workiz, GoHighLevel, ServiceTitan)

Step-by-step instructions and capabilities for migrating 100% of data (customers, jobs, price book, technicians, materials/SKUs, SMS history) from competitor CRMs into NeurLead.

No parameters.

setup:write
get_team
The team

Everyone at once: staff logins (dispatchers / office: role, cities, active, auto-reply toggle), technicians including inactive (skills, rates, home ZIP, service areas, rating, jobs) and the list of service areas with ids. Read before changing anyone.

No parameters.

team:read
get_team_locations
Where the technicians are

Where each technician is right now: name, phone, status, latitude / longitude, accuracy in metres, how many seconds ago the fix was taken, and the job he is on (en route / in progress). Only technicians who share their location and only fixes from the last 12 hours; the app sends a point once a minute while it is open, so «age_sec» matters — an old point is where he WAS. Use it to answer «where is X» or «who is closest to this address».

No parameters.

team:read
get_timesheets
Timesheets

Technician work entries with on-site minutes, job, customer and price between start and end (YYYY-MM-DD, ≤92 days; default: this month). tech_id narrows to one person.

  • start — Start date, YYYY-MM-DD
  • end — End date, YYYY-MM-DD
  • tech_id — Technician id (from get_team or list_technicians)
team:read
get_payroll
Payroll totals

What each technician earned: week (default: the active week; detail=true adds jobs, hours, materials and visits without hours) or a range from/to (whole weeks). Read-only: marking paid stays in the CRM.

  • week — YYYY-MM-DD, a Monday
  • from — Start date, YYYY-MM-DD
  • to — End date, YYYY-MM-DD
  • detail — true = add the per-job breakdown
team:read
list_waiting_cards
My cards waiting for a yes

Cards this app staged that wait for a person (bookings, messages, invoices, estimates, payments, setup changes), with pending_action_id, summary, the time in the lead's zone and who they wait for. confirm_in_chat tells whether the owner lets this app confirm them in the chat.

No parameters.

any connected app
list_my_feedback
What happened to the feedback sent from this workspace

Feedback sent from this workspace with its status (new / seen / planned / done / declined) and the team's note. Tell the owner what is planned or done.

No parameters.

any connected app

Add records

Add something inside your workspace; nothing is overwritten and nobody outside is told.

ToolWhat it doesRight needed
create_lead
Create a lead

Hand a customer to the CRM. Only `phone` (10-digit US) is required. If a card with this phone already exists, no duplicate is made: a note is added to it and the result says duplicate=true. temperature=hot puts a "call now" callback on the dispatcher and pushes their phone.

  • phone required — Customer phone, 10-digit US, +1 optional
  • name — Name
  • email — Email address
  • city — City
  • zip — 5-digit ZIP
  • address — Street address, if the customer gave it
  • service — What they need, e.g. "TV mounting"
  • description — The job in the customer's words
  • source — Where the lead came from: facebook, instagram, craigslist, reddit, nextdoor, yelp, angi, homeadvisor, google, whatsapp, website, email, referral, zapier, or any other name (stored as "other" with your label)
  • source_url — Link to the post / thread the lead came from
  • desired_at — When they want it, free text or ISO date
  • rate_agreed — Price or rate the customer already agreed to
  • temperature — hot = ready to book, call now
  • photos — http(s) URLs
  • transcript — The conversation so far
  • notes — Free-text notes for the team; never shown to the customer
leads:create
add_note
Add an internal note

A private note on the lead card, visible to the dispatcher, never to the customer.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • text required — Text of the message or note
notes:write
draft_estimate
Draft an estimate

Create a DRAFT estimate on the lead from line items (price list first: get_price_list). Nothing is sent unless send_immediately is true (which sends immediately if the key has estimates:send). Pass idempotency_key to retry safely.

  • lead_id required — Lead (customer card) id, from search, list_leads or get_waiting
  • items required — Line items: each with a name or description, quantity and unit price in USD
  • notes — Free-text notes for the team; never shown to the customer
  • deposit_amount — Deposit asked up front, in USD
  • discount_amount — Discount, in USD
  • valid_until — Date the estimate expires, YYYY-MM-DD
  • idempotency_key — Your own unique key for this request; repeating it returns the first result instead of a duplicate
  • send_immediately — Immediately deliver to the customer after creating the estimate
estimates:draft
draft_invoice
Draft an invoice

Create a DRAFT invoice on the lead from line items. Nothing is sent unless send_immediately is true (which sends immediately if the key has invoices:send). Pass idempotency_key to retry safely.

  • lead_id required — Lead (customer card) id, from search, list_leads or get_waiting
  • items required — Line items: each with a name or description, quantity and unit price in USD
  • notes — Free-text notes for the team; never shown to the customer
  • deposit_amount — Deposit asked up front, in USD
  • discount_amount — Discount, in USD
  • due_date — Payment due date, YYYY-MM-DD
  • idempotency_key — Your own unique key for this request; repeating it returns the first result instead of a duplicate
  • send_immediately — Immediately deliver to the customer after creating the invoice
invoices:draft
create_campaign
Draft an SMS campaign

Create a DRAFT campaign with an audience filter (status / source / tags / lead_score_gte / limit ≤ 500) and a template (max 480 chars; passes the safety filter). Returns the audience size and cost. Nothing is sent until the owner approves a start.

  • name required — Name
  • template_sms required — Text of the SMS; keep it short and say who it is from
  • audience_filter — Who gets the campaign: filters such as status, city, source, last activity
campaigns:write
create_company
Create a company

Create a company record (returns the existing one if the name already exists).

  • name required — Name
  • phone — Phone number, 10-digit US; +1 optional
  • email — Email address
  • website — Website address (https://…)
  • address — Street address
  • city — City
  • state — US state, two letters (e.g. FL)
  • zip — 5-digit US ZIP code
  • industry — Industry or type of business
  • notes — Free-text notes for the team; never shown to the customer
  • tags — Tags (short labels) for the card
companies:write
link_lead_company
Link a lead to a company

Attach a lead to a company by id, or by name (created if new).

  • lead_id required — Lead (customer card) id, from search, list_leads or get_waiting
  • company_id — Company id (from list_companies)
  • company_name — Company name; a new company is created if none matches
companies:write
attach_estimate_photo
Put a picture on an estimate

Attach an image to a DRAFT estimate so the customer sees it inside the document (project visual, before / after). Pass file_id of a file already on the card (list_files) or an https url. kind: gallery | before | after. Up to 12 pictures. Invoices have no pictures.

  • id required — estimate id
  • file_id — id of a file on the same card, from list_files
  • url — Web address (https://…)
  • kind — Kind of item; valid values are listed in the schema
  • caption — Caption shown under the picture
estimates:draft
export_conversation_pdf
Export a conversation as PDF

Build the WHOLE conversation of a card (all channels, with authors and times, attachment links) as a PDF and save it on the card as a document. Returns the link. For text in the chat instead, use get_thread.

  • id required — lead id
  • include_system — also include internal notes (default false)
files:write
attach_file
Attach a file to a lead

Attach a picture or PDF (≤10 MB) by https url or base64 content. It shows on the card and in its chat, signed agent.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • kind — Kind of item; valid values are listed in the schema
  • label — Short label
  • url — Web address (https://…)
  • content_base64 — File content, base64-encoded
  • mime — File type, e.g. image/jpeg or application/pdf
  • file_name — File name with extension
files:write
add_technician
Add a technician (installer, crew, field worker)

Field people visits are booked on. Not a CRM login — for a dispatcher login use add_staff. phone must be the person's own mobile (not the office line).

  • full_name required — Person's full name
  • phone — Phone number, 10-digit US; +1 optional
  • email — Email address
  • skills — Skills or trades, e.g. plumbing, drywall
  • hourly_rate — Hourly pay rate in USD
  • home_zip — ZIP code where the person starts the day
  • service_zips — comma-separated 5-digit ZIPs this person covers
  • employment_type — How the person is employed, e.g. employee or contractor
  • notes — Free-text notes for the team; never shown to the customer
setup:write or team:write

Change records

Overwrite, close, book or record something inside your workspace. Money and visits wait for a person.

ToolWhat it doesRight needed
create_task
Create a task for a person

"Remind Alex tomorrow about…": a callback task on the lead for a dispatcher (default: the assigned one) or the owner. One open task per lead; a newer one replaces it.

  • lead_id required — Lead (customer card) id, from search, list_leads or get_waiting
  • text required — Text of the message or note
  • due_at — ISO date-time; default now
  • assignee — Dispatcher username to assign to (see get_dictionaries)
tasks:write
update_lead
Update lead fields

Change name, email, city/state/ZIP, address, category, description, desired dates, tags (tags / add_tags / remove_tags), the assigned dispatcher, temperature (hot/warm/estimate), the assigned technician, or the status (with lost_reason when lost). Also moves the card between the dashboard tabs with folder: inbox | hiring | ads (in its own call, without tags). A visit date is booked with book_visit, never here.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • folder — Move the card to this dashboard tab
  • customer_name — Customer name
  • customer_email — Customer email
  • location_city — City of the job
  • location_state — State of the job, two letters
  • location_zip — ZIP code of the job
  • full_address — Full street address of the job
  • category — Service category, e.g. plumbing, TV mounting
  • description — What the job is, in plain words
  • scheduling_dates — When the customer wants the job, free text
  • assigned_dispatcher — Dispatcher username responsible for the card
  • tags — Tags (short labels) for the card
  • add_tags — Tags to add to the card
  • remove_tags — Tags to remove from the card
  • temperature — hot = ready to book now, warm = interested, estimate = wants a price first
  • assigned_tech_id — technician id from list_technicians; null to clear
  • status — needs status:write
  • lost_reason — Why the job was lost; valid values are listed in the schema
  • close_note — Short note about why the lead is closed
leads:write
mark_invoice_paid
Record a payment

Record a payment the customer made outside the CRM (cash, Zelle, check…). Mode applies. Never more than the balance due.

  • id required — Invoice id (from list_invoices or find_invoices)
  • amount required — Amount in USD
  • method required — How the customer paid, e.g. cash, check, zelle, card
  • notes — Free-text notes for the team; never shown to the customer
invoices:mark_paid
void_invoice
Void an invoice

Void an unpaid invoice. Always lands with the owner for approval.

  • id required — Invoice id (from list_invoices or find_invoices)
  • reason — Why, in a few words; kept in the history
invoices:void
void_estimate
Void an estimate

Void an estimate that is draft, sent or viewed. Cannot be undone: a voided estimate is never edited or re-sent — draft a new one. Nothing is sent to the customer. Always lands with the owner for approval.

  • id required — Estimate id (from list_estimates or find_estimates)
  • reason — Why, in a few words; kept in the history
estimates:send
save_business_rule
Save a business rule / playbook policy

Add one operational business rule to the company's rule list (e.g. "Never book plumbing after 4 PM", "20% surcharge for weekend emergency calls", "Max only works north of the river"). It only adds: an existing rule is not changed or removed, and calling twice stores the rule twice. The list is stored in the workspace settings; the CRM's own AI does not read it yet, so do not promise the owner that it is enforced. After go-live the owner approves each rule.

  • rule required — The rule in plain language
  • category — Service category, e.g. plumbing, TV mounting
setup:write
add_price
Add a price-list item

Propose a new service for the price list (name, price in USD, fixed / hourly / quote). It waits for the owner's approval before customers are quoted from it.

  • service_name required — Name of the service as the customer sees it
  • price required — Price in USD
  • price_type — fixed = flat price, hourly = per hour, quote = depends on the job
  • note — Short note stored with the record
prices:write
update_price
Change a price-list item

Propose a change to a price-list item (price, name, type, note, or is_active=false to switch it off). The owner approves.

  • id required — Price-list item id (from get_price_list)
  • service_name — Name of the service as the customer sees it
  • price — Price in USD
  • price_type — fixed = flat price, hourly = per hour, quote = depends on the job
  • note — Short note stored with the record
  • is_active — false switches it off without deleting
prices:write
update_company
Update a company

Change fields of a company (B2B customer): name, phone, email, website, address, city, state, ZIP, industry, notes. Only the fields you pass are changed.

  • id required — Company id (from list_companies)
  • name — Name
  • phone — Phone number, 10-digit US; +1 optional
  • email — Email address
  • website — Website address (https://…)
  • address — Street address
  • city — City
  • state — US state, two letters (e.g. FL)
  • zip — 5-digit US ZIP code
  • industry — Industry or type of business
  • notes — Free-text notes for the team; never shown to the customer
  • tags — Tags (short labels) for the card
companies:write
set_status
Change lead status

Set the lead status. One of: new, ai_responded, active, in_progress, paused, booked, lost, done, archived, spam.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • status required — Status value; valid values are listed in the schema or by get_dictionaries
  • lost_reason — Why the job was lost; valid values are listed in the schema
status:write
block_number
Block the customer's number

Blocks the phone on this lead: nobody and nothing messages it any more — automations, the AI assistant, reminders, campaigns. The AI is switched off on the card. The card shows who blocked it. Undo with unblock_number.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • notes — Why (shown to the team)
leads:write
unblock_number
Unblock the customer's number

Removes the phone on this lead from the block list so messages can go out again. Does not switch the AI back on.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
leads:write
close_lead
Close a lead with a reason

Close as lost (reason required: ghosted, price, timing, competitor, refusal, other), spam, or done. The reason feeds the nurture lanes; it lands in the card's chat signed agent.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • as — Output format
  • reason — Why, in a few words; kept in the history
  • note — Short note stored with the record
status:write
update_task
Close, reassign or move a task

status=done|rejected closes it; assignee reassigns (dispatcher username or the owner); due_at moves it; text rewrites it.

  • id required — Task id (from list_tasks)
  • status — Status value; valid values are listed in the schema or by get_dictionaries
  • assignee — Dispatcher username to assign to (see get_dictionaries)
  • due_at — When the task is due: ISO date-time or YYYY-MM-DD
  • text — Text of the message or note
tasks:write
update_estimate
Edit a draft estimate

Change a DRAFT estimate in one call: replace the line items (price changes), notes, discount, deposit or valid-until date. Totals are recalculated by the CRM. Only drafts: a sent estimate is edited by a person. Nothing is sent to the customer.

  • id required — Estimate id (from list_estimates or find_estimates)
  • items — Line items: each with a name or description, quantity and unit price in USD
  • notes — Free-text notes for the team; never shown to the customer
  • discount_amount — Discount, in USD
  • deposit_amount — Deposit asked up front, in USD
  • valid_until — Date the estimate expires, YYYY-MM-DD
estimates:draft
update_invoice
Edit a draft invoice

Change a DRAFT invoice in one call: replace the line items, notes, discount, deposit or due date. Totals and any deposit credit are handled by the CRM. Only drafts: a sent invoice is edited by a person. Nothing is sent to the customer.

  • id required — Invoice id (from list_invoices or find_invoices)
  • items — Line items: each with a name or description, quantity and unit price in USD
  • notes — Free-text notes for the team; never shown to the customer
  • discount_amount — Discount, in USD
  • deposit_amount — Deposit asked up front, in USD
  • due_date — Payment due date, YYYY-MM-DD
invoices:draft
update_profile
Save company profile settings

Save one or more profile keys (see settings_keys in get_setup): brand_name, business_type, description, services_offered, strengths, website, phone, contact_email, company_address/city/state/zip, service_cities, headquarters_city, timezone, agent_name, ai_tone (friendly|professional|casual), ai_languages, ai_restrictions, pricing_model (hourly|flat|quote), hourly_rate, hourly_minimum_hours, price_from, price_to, review_url, currency. Unknown keys are refused. Before go-live saves at once; after go-live the owner approves (done=false).

  • settings required — { key: value } — only keys from settings_keys
setup:write
set_prices
Set the price list

mode "replace" (default) replaces the whole list — use it during setup; "append" adds items. Each item: service_name, price (USD), price_type fixed|hourly|quote (quote = price depends on the job; price may be omitted), note. The AI quotes customers from this list, so give at least 3 services. Never invent prices — use the owner's numbers or the website's.

  • mode — How to apply the change; valid values are listed in the schema
  • prices required — Price-list items: service_name, price (USD), price_type, note
setup:write
set_schedule
Set working hours

Working hours per weekday, 24h HH:MM, e.g. { "Monday": { "start": "08:00", "end": "18:00" }, ... }. Days not listed are days off. Booking offers only these hours.

  • schedule required — Working hours per weekday, e.g. { "Monday": { "start": "08:00", "end": "18:00" } }; days not listed are days off
setup:write
add_staff
Add a dispatcher login

A person who answers customers in the CRM (dispatcher / office). Omit password to get a temporary one back once — pass it to the owner, they change it in Team.

  • username required — Login name for the CRM
  • display_name — Name shown in the CRM
  • phone — Phone number, 10-digit US; +1 optional
  • password — Temporary password; omit to get one generated
  • cities — Cities this person works, comma-separated
setup:write or team:write
buy_phone_number
Buy a Twilio business phone number

Buy a Twilio number (from get_phone_setup or by areaCode) and auto-activate paygo if needed. If phone balance/card is missing, returns topup_url for the owner.

  • phoneNumber — Exact E.164 number from get_phone_setup
  • areaCode — 3-digit US area code
  • type — Type; valid values are listed in the schema
  • friendlyName — Label for the number inside the CRM
setup:write
import_crm_batch
Batch import records from another CRM (JSON or CSV converted)

Import a bulk batch of customers, jobs, services, materials, technicians, messages or business automations from an old CRM export. Idempotent by phone/email/name.

  • crm_name — Name of the CRM the data comes from
  • dry_run — true = only check and report what would be imported, change nothing
  • customers — Customers to import
  • jobs — Jobs to import
  • technicians — Technicians to import
  • services — Services (price list) to import
  • materials — Materials to import
  • messages — Message history to import
  • automations — Automations to import
setup:write
complete_setup
Mark the workspace live

Call when todo in get_setup is empty (or only "complete" is left). Refused (409) while the required profile keys are missing. After this, setup changes wait for the owner's approval, and get_setup lists the owner-only clicks to finish.

No parameters.

setup:write
update_technician
Update a technician

Change fields of a technician: full_name, phone (own mobile), email, skills, hourly_rate, commission_pct (0–1), employment_type, hire_date, home_zip, service_zips, notes, status active|inactive. Goes through the key's mode.

  • id required — Technician id (from get_team or list_technicians)
  • full_name — Person's full name
  • phone — Phone number, 10-digit US; +1 optional
  • email — Email address
  • skills — Skills or trades, e.g. plumbing, drywall
  • hourly_rate — Hourly pay rate in USD
  • commission_pct — Commission as a fraction from 0 to 1 (0.3 = 30%)
  • employment_type — How the person is employed, e.g. employee or contractor
  • hire_date — Hire date, YYYY-MM-DD
  • home_zip — ZIP code where the person starts the day
  • service_zips — ZIP codes this person covers
  • notes — Free-text notes for the team; never shown to the customer
  • status — Status value; valid values are listed in the schema or by get_dictionaries
team:write
set_technician_areas
Set a technician's service areas

Replace the service areas a technician covers (ids from get_team.service_areas). Dispatch routes jobs by these areas.

  • id required — Technician id (from get_team or list_technicians)
  • area_ids required — Service area ids (from get_team → service_areas)
team:write
update_staff
Update a staff login

display_name, phone, cities, is_active (off = cannot log in), responder_active (their AUTO-REPLY toggle: off = the AI assistant stays silent on their leads). Passwords and folder rights only in the CRM.

  • id required — Staff login id (from get_team)
  • display_name — Name shown in the CRM
  • phone — Phone number, 10-digit US; +1 optional
  • cities — Cities this person works, comma-separated
  • is_active — false switches it off without deleting
  • responder_active — Auto-reply on this person's leads: true = on, false = off
team:write
reject_action
Drop a waiting card

Drops one of this app's waiting cards when the person says no or wants it changed (then stage it again with the new details). Nothing reaches the customer. Works only when the owner turned "confirm in chat" on for this app.

  • pending_action_id required — Id of the waiting card, from list_waiting_cards or the result of the tool that staged it
any connected app

Reach a customer or an outside party

Send a message, invoice, estimate or campaign, place a call, or tell an outside endpoint. Cannot be recalled; held for a person unless you chose otherwise.

ToolWhat it doesRight needed
send_message
Send a message to the customer

Writes to the customer in the lead chat through the CRM — any card except spam, including archived, done and lost ones (SMS by default; thumbtack / email / messenger / whatsapp when the lead lives there). The customer sees it as the company. Keep it short and professional.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • text required — Text of the message or note
  • channel — Channel: sms, email, thumbtack, messenger, whatsapp
chat:write
register_webhook
Register a webhook endpoint

Tell the CRM where to POST events (lead.created, message.received, lead.status_changed). Returns the signing secret ONCE — store it; verify X-NeurLead-Signature (t=<unix>,v1=HMAC-SHA256(secret, "<t>.<body>")). https only. Retries for 15 hours; 25 failures in a row disable the endpoint.

  • url required — https URL that accepts POST
  • events — default: lead.created, message.received, lead.status_changed
webhooks:manage
send_invoice
Send an invoice

Send an existing invoice to the customer over the channels the lead has (SMS/email/Thumbtack…). Under the key's mode: shadow = suggestion only, approval = a person confirms in the CRM, autonomous = sent immediately without approval. The CRM's own gates apply (an unapplied booking deposit blocks the send).

  • id required — Invoice id (from list_invoices or find_invoices)
  • send_sms — Also text the customer a link (true/false)
  • send_email — Also email the customer a link (true/false)
invoices:send
send_estimate
Send an estimate

Send an existing estimate to the customer. Under the key's mode: shadow = suggestion only, approval = a person confirms in the CRM, autonomous = sent immediately without approval.

  • id required — Estimate id (from list_estimates or find_estimates)
  • send_sms — Also text the customer a link (true/false)
  • send_email — Also email the customer a link (true/false)
estimates:send
call_customer
Call the customer

Ask the CRM to place a call: it rings the assigned dispatcher's phone and bridges to the customer (a human talks). Mode applies: approval = the dispatcher confirms first.

  • id required — Lead (customer card) id, from search, list_leads or get_waiting
  • reason — Why, in a few words; kept in the history
calls:create
start_campaign
Start a campaign

Ask the owner to start a drafted campaign. Always lands with the owner for approval; the CRM sends in batches with opt-outs respected.

  • id required — Campaign id (from list_campaigns)
campaigns:write
book_visit
Book a visit

Book a technician visit on the lead. Checks the technician is free (409 with the conflict otherwise); then a person confirms in the CRM, because booking texts the customer and may request the deposit.

  • lead_id required — Lead (customer card) id, from search, list_leads or get_waiting
  • technician_id required — Technician id (from get_team or list_technicians)
  • start required — ISO date-time. Without an offset (2026-11-21T11:00) it is the lead's local time (Miami = ET, Austin = CT); with Z or ±HH:MM it is that exact moment. The answer's summary shows the time in the lead's zone — read it back to the person in that zone, never in UTC
  • end — End date, YYYY-MM-DD
  • duration_minutes — How long, in minutes
  • address — Street address
  • zip — 5-digit US ZIP code
  • city — City
  • title — Short title
  • notes — Free-text notes for the team; never shown to the customer
visits:write
parse_website
Read the company website into the profile

Give it the company website URL BEFORE asking questions: the CRM reads the site and pre-fills description, services, tone, strengths, areas, phone, email, address. Returns what it found; then ask the owner only what is still missing. Takes up to ~30 s.

  • url required — http(s) URL of the company website
setup:write
submit_a2p_registration
Submit A2P 10DLC texting registration

Submits carrier A2P 10DLC Brand + Campaign registration for the workspace Twilio number using the saved company profile (pass ein / businessType / street / city / state / zip if not yet set). Requires a bought number and funded phone balance.

  • ein — US Employer Identification Number of the business
  • legalName — Legal business name as registered
  • businessType — Legal form of the business, e.g. LLC
  • street — Street address of the business
  • city — City
  • state — US state, two letters (e.g. FL)
  • zip — 5-digit US ZIP code
  • email — Email address
  • phone — Phone number, 10-digit US; +1 optional
setup:write
run_crm_api_extract
Extract data directly from old CRM via API

Connects directly to Housecall Pro, Workiz, Jobber, or GoHighLevel with the owner's API key/token and extracts customers, jobs, technicians, services and materials. Optionally pass auto_import=true to import immediately into NeurLead.

  • crm required — Which CRM the data comes from
  • api_key required — API Key, OAuth Bearer token, or Private Integration Token
  • location_id — Required for GoHighLevel
  • auto_import — If true, saves extracted records directly into the workspace
  • dry_run — If true, validates data without committing to DB
  • max_pages — Maximum number of pages to read
setup:write
confirm_action
Confirm a waiting card (after the person said yes in the chat)

Does what a waiting card says, exactly as the CRM Approve button would (its checks still apply: the technician must still be free, deposits, owner-only rules). Call it ONLY after you showed the person the card in this chat — customer, the work, technician, date and time in the lead's local zone, address, amount — and they answered with an explicit yes for THIS card. Never confirm on your own initiative, never several cards on one vague yes. To change something, call reject_action and stage it again with the right details. Works only when the owner turned "confirm in chat" on for this app; otherwise the card waits in the CRM.

  • pending_action_id required — from the tool answer or list_waiting_cards
any connected app
send_feedback
Tell the NeurLead team what to improve

Use when something is wrong, missing or clumsy, or when the owner needs a platform that is not connected (Yelp, Angi, QuickBooks…). kind: "integration" (name = the platform), "bug", "idea", "question" or "praise". Describe the situation in general terms: NEVER include customer names, phone numbers or emails (they are removed anyway). The team is notified at once; use list_my_feedback to see what happened to it.

  • kind required — Kind of item; valid values are listed in the schema
  • title — One line
  • text required — What is wrong or what is needed, and why it matters to the owner
  • name — Platform or service name, required for kind "integration"
any connected app

Resources and ready-made commands

Resources

Ready-made commands

What to ask

Type these in your AI app once the connector is on. It answers from your own workspace.

Who is waiting

“Who is waiting for a reply right now? Draft an answer for each one using our price list.”

Estimate from photos

“Look at the photos on Julie’s lead and draft an estimate from our price list. Tell me what you assumed.”

Schedule

“Which technicians are free Friday morning, and who is closest to the Johnson job?”

Money

“Which invoices are unpaid for more than three days? Write a short reminder for each, but don’t send yet.”

Morning brief

“Give me the morning brief: waiting customers, today’s visits, overdue tasks.”

Set up

“Set up my CRM from our website and ask me only what is missing.”

Errors

Every tool error comes back as a normal MCP result with isError: true and a sentence the AI can repeat to you.

What you seeMeaningWhat to do
HTTP 401 with WWW-AuthenticateNot signed in, or the sign-in was revoked or expired.Your AI app signs in again by itself (OAuth). If it cannot, reconnect the connector.
“Nothing was done: this app has no … right”The right for this tool is off for this app.Switch it on in the CRM: Integrations → AI agents → this app → rights.
HTTP 403The action is not allowed for this workspace or this record (for example an ads lead, or a role limit).Do it in the CRM, or ask the owner.
HTTP 404No such lead, estimate, invoice or task in your workspace.Search again; ids come from search and list tools.
HTTP 409The record is in a state that does not allow this (already sent, already paid, setup not complete).Read the record again and follow the message.
HTTP 422 / 400A parameter is missing or invalid.The message names the field.
HTTP 429Too many requests: 120 a minute per connection, or the daily message limits.Wait a minute; the answer carries Retry-After.
HTTP 503, or 403 with a billing messageThe owner paused all AI agents, or the workspace subscription is paused.The owner checks billing or switches agents back on in the CRM.
“Waiting for approval”The action was queued for a person (money, visits, or the app’s mode).Approve it where the result says; nothing reached the customer yet.

Troubleshooting

“Workspace not found”

Use the name from your CRM address: …/t/your-company/. Lowercase letters, digits and hyphens. A closed or suspended workspace answers the same way.

Sign-in loops

Sign in to your CRM in the same browser first, then retry. Clear cookies for aidispatch.us if it keeps looping.

“This app has no … right”

The tool exists but you did not give that right. Switch it on in the CRM: Integrations → AI agents → this app → rights. It works from the next call.

Nothing was sent to the customer

By default the AI only drafts. Open the lead in the CRM: the draft waits there with Approve, Edit and Reject.

Disconnected after a while

Access renews itself. If you revoked the app or changed the owner’s access, connect again.

Still stuck

Write to hello@neurlead.com. Security reports go to the same address with “Security” in the subject.