{"$schema":"https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json","version":"1.0","protocolVersion":"2025-06-18","serverInfo":{"name":"neurlead-crm","title":"NeurLead CRM","version":"1.0.0","description":"CRM and AI dispatcher for any US home-service business: leads and chats, estimates and invoices, schedule, technicians and team, from your AI assistant.","websiteUrl":"https://aidispatch.us/connect","icons":[{"src":"https://aidispatch.us/logo.png","mimeType":"image/png","sizes":["512x512"]},{"src":"https://aidispatch.us/favicon.svg","mimeType":"image/svg+xml","sizes":["any"]},{"src":"https://aidispatch.us/apple-touch-icon.png","mimeType":"image/png","sizes":["180x180"]}]},"description":"CRM and AI dispatcher for any US home-service business: leads and chats, estimates and invoices, schedule, technicians and team, from your AI assistant.","transport":{"type":"streamable-http","endpoint":"https://aidispatch.us/connect/mcp"},"remotes":[{"type":"streamable-http","url":"https://aidispatch.us/connect/mcp"}],"authentication":{"required":true,"schemes":["oauth2"],"authorization_server":"https://aidispatch.us/connect","protected_resource_metadata":"https://aidispatch.us/.well-known/oauth-protected-resource/connect/mcp","note":"Each business signs in to its own NeurLead workspace as its owner and ticks the rights it gives the AI app."},"capabilities":{"tools":{"listChanged":false},"resources":{},"prompts":{}},"instructions":"NeurLead CRM is the business's own CRM and AI dispatcher. It serves any home-service business anywhere in the US: handyman, cleaning, plumbing, HVAC, electrical, painting, roofing, landscaping, pest control, moving and similar trades. Use it when the user asks about their own customers, leads and chats, calls, price list, schedule, technicians, estimates, invoices, payments, tasks or team, or wants to set up their workspace. Start with search, get_waiting, get_changes or list_leads to find the right card, then read it with get_lead or fetch before acting. Quote prices only from get_price_list and offer times only from get_schedule; never invent prices, dates or promises. Tools that reach a customer (send_message, send_estimate, send_invoice, call_customer, start_campaign, book_visit) or record money: before calling, show the user what will be sent or changed and get a clear yes in the chat. Depending on the workspace settings the action may also wait for a person in the CRM; the result says so. If a call answers that a right is missing, tell the user which right to switch on (CRM → Integrations → AI agents); do not retry. Answer in the language the user writes in. Never paste customer phone numbers or emails into send_feedback.","tools":[{"name":"create_lead","title":"Create a lead","description":"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.","inputSchema":{"type":"object","properties":{"phone":{"type":"string","description":"Customer phone, 10-digit US, +1 optional"},"name":{"description":"Name","type":"string","maxLength":120},"email":{"description":"Email address","type":"string","maxLength":200},"city":{"description":"City","type":"string","maxLength":80},"zip":{"description":"5-digit ZIP","type":"string","maxLength":10},"address":{"description":"Street address, if the customer gave it","type":"string","maxLength":200},"service":{"description":"What they need, e.g. \"TV mounting\"","type":"string","maxLength":120},"description":{"description":"The job in the customer's words","type":"string","maxLength":4000},"source":{"description":"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)","type":"string","maxLength":40},"source_url":{"description":"Link to the post / thread the lead came from","type":"string","maxLength":500},"desired_at":{"description":"When they want it, free text or ISO date","type":"string","maxLength":200},"rate_agreed":{"description":"Price or rate the customer already agreed to","anyOf":[{"type":"number"},{"type":"string","maxLength":100}]},"temperature":{"description":"hot = ready to book, call now","type":"string","enum":["hot","warm","estimate"]},"photos":{"description":"http(s) URLs","maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"transcript":{"description":"The conversation so far","type":"string","maxLength":20000},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":4000}},"required":["phone"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"list_leads","title":"List leads with rich filters","description":"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).","inputSchema":{"type":"object","properties":{"status":{"description":"Status value; valid values are listed in the schema or by get_dictionaries","type":"string","enum":["new","ai_responded","active","in_progress","paused","booked","lost","done","archived","spam"]},"source":{"description":"Lead source e.g. instagram, facebook, thumbtack, yelp, google, website, other","type":"string","maxLength":40},"channel":{"description":"Communication channel","type":"string","enum":["sms","thumbtack","email","messenger","whatsapp","instagram","phone"]},"city":{"description":"Customer city e.g. Miami","type":"string","maxLength":80},"category":{"description":"Service or category filter e.g. shower door, plumbing","type":"string","maxLength":120},"assigned_to":{"description":"Dispatcher username e.g. farrukh","type":"string","maxLength":80},"tech_id":{"description":"Technician id from list_technicians","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"phone":{"description":"Customer phone number (full or partial digits)","type":"string","maxLength":30},"query":{"description":"Search term matched across customer name, email, phone or notes","type":"string","maxLength":120},"folder":{"description":"Dashboard tab: inbox | hiring | ads","type":"string","enum":["inbox","hiring","ads"]},"since":{"description":"YYYY-MM-DD","type":"string","maxLength":25},"until":{"description":"YYYY-MM-DD","type":"string","maxLength":25},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_lead","title":"Get a lead with its chat and notes","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"send_message","title":"Send a message to the customer","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"text":{"type":"string","minLength":1,"maxLength":4000,"description":"Text of the message or note"},"channel":{"description":"Channel: sms, email, thumbtack, messenger, whatsapp","type":"string","enum":["sms","thumbtack","email","messenger","whatsapp"]}},"required":["id","text"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":true,"idempotentHint":false}},{"name":"add_note","title":"Add an internal note","description":"A private note on the lead card, visible to the dispatcher, never to the customer.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"text":{"type":"string","minLength":1,"maxLength":4000,"description":"Text of the message or note"}},"required":["id","text"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"register_webhook","title":"Register a webhook endpoint","description":"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.","inputSchema":{"type":"object","properties":{"url":{"type":"string","maxLength":500,"description":"https URL that accepts POST"},"events":{"description":"default: lead.created, message.received, lead.status_changed","minItems":1,"type":"array","items":{"type":"string","enum":["lead.created","message.received","message.failed","lead.status_changed","invoice.sent","invoice.paid","invoice.voided","job.assigned","task.created"]}}},"required":["url"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true,"idempotentHint":false}},{"name":"list_webhooks","title":"List my webhook endpoints","description":"Endpoints this agent registered, with last delivery status and failure counts.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"search","title":"Search the CRM","description":"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.","inputSchema":{"type":"object","properties":{"query":{"description":"What to look for","type":"string","maxLength":120},"q":{"description":"Same as query","type":"string","maxLength":120},"folder":{"description":"Only this dashboard tab","type":"string","enum":["inbox","hiring","ads"]},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":100}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"fetch","title":"Fetch a lead by id","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"string","maxLength":40,"description":"Lead (customer card) id, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"list_technicians","title":"List technicians","description":"Active technicians: name, phone, skills, home ZIP, service areas, rating.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_price_list","title":"Price list","description":"The CRM price list and hourly terms. Quote from here, never from memory. Pass source=thumbtack for Thumbtack rates.","inputSchema":{"type":"object","properties":{"source":{"description":"Where the lead came from, e.g. google, thumbtack, website","type":"string","maxLength":20}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_dictionaries","title":"Dictionaries","description":"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.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"list_calls","title":"Calls of a lead","description":"Calls on a lead card: direction, duration, status, summary, whether a recording/transcript exists.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id whose records to list, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"list_neuro_sessions","title":"AI assistant conversations","description":"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.","inputSchema":{"type":"object","properties":{"days":{"description":"Number of days to look at","type":"integer","minimum":1,"maximum":30},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":100},"customer_id":{"description":"Customer id","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_neuro_session","title":"AI assistant conversation","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"string","pattern":"^nl_[A-Za-z0-9_-]{4,64}$","description":"Conversation id (from list_neuro_sessions)"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_call","title":"Call details","description":"Transcript, AI summary and a signed recording link valid for 1 hour.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Call id (from list_calls or get_lead)"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_reports_summary","title":"Reports summary","description":"Revenue for the period, unpaid and overdue invoices (list), lead funnel by status and source, jobs today/tomorrow, technician load for 7 days.","inputSchema":{"type":"object","properties":{"days":{"description":"Number of days to look at","type":"integer","minimum":1,"maximum":365}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_audit_log","title":"Who changed what","description":"Status changes (who/when/source), agent actions and system notes on a lead.","inputSchema":{"type":"object","properties":{"lead_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":200}},"required":["lead_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"create_task","title":"Create a task for a person","description":"\"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.","inputSchema":{"type":"object","properties":{"lead_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"text":{"type":"string","minLength":1,"maxLength":500,"description":"Text of the message or note"},"due_at":{"description":"ISO date-time; default now","type":"string","maxLength":40},"assignee":{"description":"Dispatcher username to assign to (see get_dictionaries)","type":"string","maxLength":80}},"required":["lead_id","text"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"list_tasks","title":"Open tasks","description":"Open tasks (callbacks and reminders) with their lead, assignee and due time, oldest due first. Pass assignee to see one person's list.","inputSchema":{"type":"object","properties":{"assignee":{"description":"Dispatcher username to assign to (see get_dictionaries)","type":"string","maxLength":80}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"update_lead","title":"Update lead fields","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"folder":{"description":"Move the card to this dashboard tab","type":"string","enum":["inbox","hiring","ads"]},"customer_name":{"description":"Customer name","type":"string","maxLength":120},"customer_email":{"description":"Customer email","type":"string","maxLength":200},"location_city":{"description":"City of the job","type":"string","maxLength":80},"location_state":{"description":"State of the job, two letters","type":"string","maxLength":20},"location_zip":{"description":"ZIP code of the job","type":"string","maxLength":10},"full_address":{"description":"Full street address of the job","type":"string","maxLength":200},"category":{"description":"Service category, e.g. plumbing, TV mounting","type":"string","maxLength":120},"description":{"description":"What the job is, in plain words","type":"string","maxLength":4000},"scheduling_dates":{"description":"When the customer wants the job, free text","type":"string","maxLength":200},"assigned_dispatcher":{"description":"Dispatcher username responsible for the card","type":"string","maxLength":80},"tags":{"description":"Tags (short labels) for the card","type":"array","items":{"type":"string"}},"add_tags":{"description":"Tags to add to the card","type":"array","items":{"type":"string"}},"remove_tags":{"description":"Tags to remove from the card","type":"array","items":{"type":"string"}},"temperature":{"description":"hot = ready to book now, warm = interested, estimate = wants a price first","type":"string","enum":["hot","warm","estimate"]},"assigned_tech_id":{"description":"technician id from list_technicians; null to clear","anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"status":{"description":"needs status:write","type":"string","enum":["new","ai_responded","active","in_progress","paused","booked","lost","done","archived","spam"]},"lost_reason":{"description":"Why the job was lost; valid values are listed in the schema","type":"string","enum":["ghosted","price","timing","competitor","refusal","other"]},"close_note":{"description":"Short note about why the lead is closed","type":"string","maxLength":500}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"list_estimates","title":"Estimates of a lead","description":"Estimates on the card with status, totals and line items.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id whose records to list, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"list_invoices","title":"Invoices of a lead","description":"Invoices on the card with status, paid/due amounts and line items.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id whose records to list, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_estimate","title":"Estimate details","description":"One estimate by id: its status, customer, line items, totals and deposit.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Estimate id (from list_estimates or find_estimates)"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_invoice","title":"Invoice details","description":"One invoice by id: its status, customer, line items, totals, amount paid and amount due.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Invoice id (from list_invoices or find_invoices)"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"draft_estimate","title":"Draft an estimate","description":"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.","inputSchema":{"type":"object","properties":{"lead_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"items":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":200},"quantity":{"type":"number","exclusiveMinimum":0,"maximum":1000},"unit_price":{"type":"number","minimum":0,"maximum":100000}},"required":["description","unit_price"]},"description":"Line items: each with a name or description, quantity and unit price in USD"},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":1000},"deposit_amount":{"description":"Deposit asked up front, in USD","type":"number","minimum":0},"discount_amount":{"description":"Discount, in USD","type":"number","minimum":0},"valid_until":{"description":"Date the estimate expires, YYYY-MM-DD","type":"string","maxLength":20},"idempotency_key":{"description":"Your own unique key for this request; repeating it returns the first result instead of a duplicate","type":"string","maxLength":80},"send_immediately":{"description":"Immediately deliver to the customer after creating the estimate","type":"boolean"}},"required":["lead_id","items"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"draft_invoice","title":"Draft an invoice","description":"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.","inputSchema":{"type":"object","properties":{"lead_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"items":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":200},"quantity":{"type":"number","exclusiveMinimum":0,"maximum":1000},"unit_price":{"type":"number","minimum":0,"maximum":100000}},"required":["description","unit_price"]},"description":"Line items: each with a name or description, quantity and unit price in USD"},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":1000},"deposit_amount":{"description":"Deposit asked up front, in USD","type":"number","minimum":0},"discount_amount":{"description":"Discount, in USD","type":"number","minimum":0},"due_date":{"description":"Payment due date, YYYY-MM-DD","type":"string","maxLength":20},"idempotency_key":{"description":"Your own unique key for this request; repeating it returns the first result instead of a duplicate","type":"string","maxLength":80},"send_immediately":{"description":"Immediately deliver to the customer after creating the invoice","type":"boolean"}},"required":["lead_id","items"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"send_invoice","title":"Send an invoice","description":"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).","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Invoice id (from list_invoices or find_invoices)"},"send_sms":{"description":"Also text the customer a link (true/false)","type":"boolean"},"send_email":{"description":"Also email the customer a link (true/false)","type":"boolean"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":true,"idempotentHint":false}},{"name":"mark_invoice_paid","title":"Record a payment","description":"Record a payment the customer made outside the CRM (cash, Zelle, check…). Mode applies. Never more than the balance due.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Invoice id (from list_invoices or find_invoices)"},"amount":{"type":"number","exclusiveMinimum":0,"description":"Amount in USD"},"method":{"type":"string","enum":["cash","zelle","check","card","venmo","cashapp","paypal","other"],"description":"How the customer paid, e.g. cash, check, zelle, card"},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":300}},"required":["id","amount","method"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"void_invoice","title":"Void an invoice","description":"Void an unpaid invoice. Always lands with the owner for approval.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Invoice id (from list_invoices or find_invoices)"},"reason":{"description":"Why, in a few words; kept in the history","type":"string","maxLength":200}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"void_estimate","title":"Void an estimate","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Estimate id (from list_estimates or find_estimates)"},"reason":{"description":"Why, in a few words; kept in the history","type":"string","maxLength":200}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"save_business_rule","title":"Save a business rule / playbook policy","description":"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.","inputSchema":{"type":"object","properties":{"rule":{"type":"string","minLength":3,"maxLength":500,"description":"The rule in plain language"},"category":{"description":"Service category, e.g. plumbing, TV mounting","type":"string","enum":["pricing","scheduling","dispatch","general"]}},"required":["rule"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"send_estimate","title":"Send an estimate","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Estimate id (from list_estimates or find_estimates)"},"send_sms":{"description":"Also text the customer a link (true/false)","type":"boolean"},"send_email":{"description":"Also email the customer a link (true/false)","type":"boolean"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":true,"idempotentHint":false}},{"name":"call_customer","title":"Call the customer","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"reason":{"description":"Why, in a few words; kept in the history","type":"string","maxLength":200}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":true,"idempotentHint":false}},{"name":"add_price","title":"Add a price-list item","description":"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.","inputSchema":{"type":"object","properties":{"service_name":{"type":"string","minLength":1,"maxLength":120,"description":"Name of the service as the customer sees it"},"price":{"type":"number","minimum":0,"maximum":100000,"description":"Price in USD"},"price_type":{"description":"fixed = flat price, hourly = per hour, quote = depends on the job","type":"string","enum":["fixed","hourly","quote"]},"note":{"description":"Short note stored with the record","type":"string","maxLength":300}},"required":["service_name","price"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"update_price","title":"Change a price-list item","description":"Propose a change to a price-list item (price, name, type, note, or is_active=false to switch it off). The owner approves.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Price-list item id (from get_price_list)"},"service_name":{"description":"Name of the service as the customer sees it","type":"string","maxLength":120},"price":{"description":"Price in USD","type":"number","minimum":0,"maximum":100000},"price_type":{"description":"fixed = flat price, hourly = per hour, quote = depends on the job","type":"string","enum":["fixed","hourly","quote"]},"note":{"description":"Short note stored with the record","type":"string","maxLength":300},"is_active":{"description":"false switches it off without deleting","type":"boolean"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"list_campaigns","title":"List campaigns","description":"SMS campaigns of the workspace with their status and counters (audience, sent, replies).","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_campaign","title":"Campaign details","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Campaign id (from list_campaigns)"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"create_campaign","title":"Draft an SMS campaign","description":"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.","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":80,"description":"Name"},"template_sms":{"type":"string","minLength":1,"maxLength":480,"description":"Text of the SMS; keep it short and say who it is from"},"audience_filter":{"description":"Who gets the campaign: filters such as status, city, source, last activity","type":"object","properties":{"status":{"type":"array","items":{"type":"string"}},"source":{"type":"string","maxLength":40},"tags":{"type":"array","items":{"type":"string"}},"lead_score_gte":{"type":"number"},"only_phone":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":500}}}},"required":["name","template_sms"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"start_campaign","title":"Start a campaign","description":"Ask the owner to start a drafted campaign. Always lands with the owner for approval; the CRM sends in batches with opt-outs respected.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Campaign id (from list_campaigns)"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":true,"idempotentHint":false}},{"name":"list_companies","title":"Find companies","description":"Search companies (B2B customers) by name, city, phone or email.","inputSchema":{"type":"object","properties":{"q":{"description":"Search words","type":"string","maxLength":80},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_company","title":"Company with its leads","description":"One company (B2B customer such as a property manager or builder) by id, with its contacts and every lead linked to it.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Company id (from list_companies)"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"create_company","title":"Create a company","description":"Create a company record (returns the existing one if the name already exists).","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"Name"},"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":40},"email":{"description":"Email address","type":"string","maxLength":200},"website":{"description":"Website address (https://…)","type":"string","maxLength":200},"address":{"description":"Street address","type":"string","maxLength":200},"city":{"description":"City","type":"string","maxLength":80},"state":{"description":"US state, two letters (e.g. FL)","type":"string","maxLength":20},"zip":{"description":"5-digit US ZIP code","type":"string","maxLength":10},"industry":{"description":"Industry or type of business","type":"string","maxLength":80},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":2000},"tags":{"description":"Tags (short labels) for the card","type":"array","items":{"type":"string"}}},"required":["name"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"update_company","title":"Update a company","description":"Change fields of a company (B2B customer): name, phone, email, website, address, city, state, ZIP, industry, notes. Only the fields you pass are changed.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Company id (from list_companies)"},"name":{"description":"Name","type":"string","maxLength":200},"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":40},"email":{"description":"Email address","type":"string","maxLength":200},"website":{"description":"Website address (https://…)","type":"string","maxLength":200},"address":{"description":"Street address","type":"string","maxLength":200},"city":{"description":"City","type":"string","maxLength":80},"state":{"description":"US state, two letters (e.g. FL)","type":"string","maxLength":20},"zip":{"description":"5-digit US ZIP code","type":"string","maxLength":10},"industry":{"description":"Industry or type of business","type":"string","maxLength":80},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":2000},"tags":{"description":"Tags (short labels) for the card","type":"array","items":{"type":"string"}}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"link_lead_company","title":"Link a lead to a company","description":"Attach a lead to a company by id, or by name (created if new).","inputSchema":{"type":"object","properties":{"lead_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"company_id":{"description":"Company id (from list_companies)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"company_name":{"description":"Company name; a new company is created if none matches","type":"string","maxLength":200}},"required":["lead_id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"set_status","title":"Change lead status","description":"Set the lead status. One of: new, ai_responded, active, in_progress, paused, booked, lost, done, archived, spam.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"status":{"type":"string","enum":["new","ai_responded","active","in_progress","paused","booked","lost","done","archived","spam"],"description":"Status value; valid values are listed in the schema or by get_dictionaries"},"lost_reason":{"description":"Why the job was lost; valid values are listed in the schema","type":"string","enum":["ghosted","price","timing","competitor","refusal","other"]}},"required":["id","status"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"block_number","title":"Block the customer's number","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"notes":{"description":"Why (shown to the team)","type":"string","maxLength":300}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"unblock_number","title":"Unblock the customer's number","description":"Removes the phone on this lead from the block list so messages can go out again. Does not switch the AI back on.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"close_lead","title":"Close a lead with a reason","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"as":{"description":"Output format","type":"string","enum":["lost","spam","done"]},"reason":{"description":"Why, in a few words; kept in the history","type":"string","enum":["ghosted","price","timing","competitor","refusal","other"]},"note":{"description":"Short note stored with the record","type":"string","maxLength":500}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"get_thread","title":"Conversation of a lead","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"since":{"description":"Start of the period: date YYYY-MM-DD or ISO date-time","type":"string","maxLength":30},"include_system":{"description":"Include automatic system events (true/false)","type":"boolean"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"update_task","title":"Close, reassign or move a task","description":"status=done|rejected closes it; assignee reassigns (dispatcher username or the owner); due_at moves it; text rewrites it.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Task id (from list_tasks)"},"status":{"description":"Status value; valid values are listed in the schema or by get_dictionaries","type":"string","enum":["done","rejected"]},"assignee":{"description":"Dispatcher username to assign to (see get_dictionaries)","type":"string","maxLength":80},"due_at":{"description":"When the task is due: ISO date-time or YYYY-MM-DD","type":"string","maxLength":40},"text":{"description":"Text of the message or note","type":"string","maxLength":500}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"get_payments","title":"Payments of a lead","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"find_estimates","title":"Find estimates across all cards","description":"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.","inputSchema":{"type":"object","properties":{"status":{"description":"One or more statuses, comma separated, e.g. sent,overdue","type":"string","maxLength":80},"since":{"description":"ISO date: only documents created on or after it","type":"string","maxLength":30},"lead_id":{"description":"Lead (customer card) id, from search, list_leads or get_waiting","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"find_invoices","title":"Find invoices across all cards","description":"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.","inputSchema":{"type":"object","properties":{"status":{"description":"One or more statuses, comma separated, e.g. sent,overdue","type":"string","maxLength":80},"since":{"description":"ISO date: only documents created on or after it","type":"string","maxLength":30},"lead_id":{"description":"Lead (customer card) id, from search, list_leads or get_waiting","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"find_payments","title":"Recent payments across all cards","description":"Payments recorded on invoices, newest first, with method and the card they belong to. Use for \"what was paid this week?\".","inputSchema":{"type":"object","properties":{"since":{"description":"Start of the period: date YYYY-MM-DD or ISO date-time","type":"string","maxLength":30},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"update_estimate","title":"Edit a draft estimate","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Estimate id (from list_estimates or find_estimates)"},"items":{"description":"Line items: each with a name or description, quantity and unit price in USD","minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":200},"quantity":{"type":"number","exclusiveMinimum":0,"maximum":1000},"unit_price":{"type":"number","minimum":0,"maximum":100000}},"required":["description","unit_price"]}},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":1000},"discount_amount":{"description":"Discount, in USD","type":"number","minimum":0},"deposit_amount":{"description":"Deposit asked up front, in USD","type":"number","minimum":0},"valid_until":{"description":"Date the estimate expires, YYYY-MM-DD","type":"string","maxLength":20}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"update_invoice","title":"Edit a draft invoice","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Invoice id (from list_invoices or find_invoices)"},"items":{"description":"Line items: each with a name or description, quantity and unit price in USD","minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":200},"quantity":{"type":"number","exclusiveMinimum":0,"maximum":1000},"unit_price":{"type":"number","minimum":0,"maximum":100000}},"required":["description","unit_price"]}},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":1000},"discount_amount":{"description":"Discount, in USD","type":"number","minimum":0},"deposit_amount":{"description":"Deposit asked up front, in USD","type":"number","minimum":0},"due_date":{"description":"Payment due date, YYYY-MM-DD","type":"string","maxLength":20}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"attach_estimate_photo","title":"Put a picture on an estimate","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"estimate id"},"file_id":{"description":"id of a file on the same card, from list_files","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"url":{"description":"Web address (https://…)","type":"string","maxLength":1000,"format":"uri"},"kind":{"description":"Kind of item; valid values are listed in the schema","type":"string","enum":["gallery","before","after"]},"caption":{"description":"Caption shown under the picture","type":"string","maxLength":200}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"export_conversation_pdf","title":"Export a conversation as PDF","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"lead id"},"include_system":{"description":"also include internal notes (default false)","type":"boolean"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"get_schedule","title":"Technician schedule","description":"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.","inputSchema":{"type":"object","properties":{"from":{"description":"Start date, YYYY-MM-DD","type":"string","maxLength":40},"to":{"description":"End date, YYYY-MM-DD","type":"string","maxLength":40},"technician_id":{"description":"Technician id (from get_team or list_technicians)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"book_visit","title":"Book a visit","description":"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.","inputSchema":{"type":"object","properties":{"lead_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"technician_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Technician id (from get_team or list_technicians)"},"start":{"type":"string","maxLength":40,"description":"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":{"description":"End date, YYYY-MM-DD","type":"string","maxLength":40},"duration_minutes":{"description":"How long, in minutes","type":"integer","minimum":15,"maximum":720},"address":{"description":"Street address","type":"string","maxLength":200},"zip":{"description":"5-digit US ZIP code","type":"string","maxLength":10},"city":{"description":"City","type":"string","maxLength":80},"title":{"description":"Short title","type":"string","maxLength":120},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":1000}},"required":["lead_id","technician_id","start"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":true,"idempotentHint":false}},{"name":"get_changes","title":"What changed since","description":"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.","inputSchema":{"type":"object","properties":{"since":{"type":"string","maxLength":40,"description":"Start of the period: date YYYY-MM-DD or ISO date-time"},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":500}},"required":["since"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_dispatch_radar","title":"What is burning right now","description":"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».","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"recommend_technician","title":"Who should go to this lead","description":"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.","inputSchema":{"type":"object","properties":{"lead_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"}},"required":["lead_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_waiting","title":"Who is waiting","description":"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.","inputSchema":{"type":"object","properties":{"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":200}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"lookup","title":"Find a person","description":"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.","inputSchema":{"type":"object","properties":{"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":30},"email":{"description":"Email address","type":"string","maxLength":200},"name":{"description":"Name","type":"string","maxLength":120}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"list_files","title":"Files of a lead","description":"Chat photos, technician photo reports, documents attached to the card (COI, W-9…) with links.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id whose records to list, from search, list_leads or get_waiting"}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"attach_file","title":"Attach a file to a lead","description":"Attach a picture or PDF (≤10 MB) by https url or base64 content. It shows on the card and in its chat, signed agent.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lead (customer card) id, from search, list_leads or get_waiting"},"kind":{"description":"Kind of item; valid values are listed in the schema","type":"string","enum":["photo","tech_report","document","coi","w9","contract","other"]},"label":{"description":"Short label","type":"string","maxLength":120},"url":{"description":"Web address (https://…)","type":"string","maxLength":2000},"content_base64":{"description":"File content, base64-encoded","type":"string"},"mime":{"description":"File type, e.g. image/jpeg or application/pdf","type":"string","enum":["image/jpeg","image/png","image/webp","image/heic","image/gif","application/pdf"]},"file_name":{"description":"File name with extension","type":"string","maxLength":120}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"get_setup","title":"Setup status — START HERE to configure a workspace","description":"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.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"parse_website","title":"Read the company website into the profile","description":"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.","inputSchema":{"type":"object","properties":{"url":{"type":"string","maxLength":500,"description":"http(s) URL of the company website"}},"required":["url"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true,"idempotentHint":false}},{"name":"update_profile","title":"Save company profile settings","description":"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).","inputSchema":{"type":"object","properties":{"settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number"]},"description":"{ key: value } — only keys from settings_keys"}},"required":["settings"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"set_prices","title":"Set the price list","description":"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.","inputSchema":{"type":"object","properties":{"mode":{"description":"How to apply the change; valid values are listed in the schema","type":"string","enum":["replace","append"]},"prices":{"minItems":1,"maxItems":300,"type":"array","items":{"type":"object","properties":{"service_name":{"type":"string","maxLength":120},"price":{"type":"number","minimum":0},"price_type":{"type":"string","enum":["fixed","hourly","quote"]},"note":{"type":"string","maxLength":300}},"required":["service_name"]},"description":"Price-list items: service_name, price (USD), price_type, note"}},"required":["prices"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"set_schedule","title":"Set working hours","description":"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.","inputSchema":{"type":"object","properties":{"schedule":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"object","properties":{"start":{"type":"string","maxLength":5},"end":{"type":"string","maxLength":5}},"required":["start","end"]},{"type":"null"}]},"description":"Working hours per weekday, e.g. { \"Monday\": { \"start\": \"08:00\", \"end\": \"18:00\" } }; days not listed are days off"}},"required":["schedule"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"add_technician","title":"Add a technician (installer, crew, field worker)","description":"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).","inputSchema":{"type":"object","properties":{"full_name":{"type":"string","maxLength":120,"description":"Person's full name"},"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":30},"email":{"description":"Email address","type":"string","maxLength":200},"skills":{"description":"Skills or trades, e.g. plumbing, drywall","maxItems":30,"type":"array","items":{"type":"string","maxLength":60}},"hourly_rate":{"description":"Hourly pay rate in USD","type":"number","minimum":0},"home_zip":{"description":"ZIP code where the person starts the day","type":"string","maxLength":5},"service_zips":{"description":"comma-separated 5-digit ZIPs this person covers","type":"string","maxLength":500},"employment_type":{"description":"How the person is employed, e.g. employee or contractor","type":"string","maxLength":30},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":1000}},"required":["full_name"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":false,"idempotentHint":false}},{"name":"add_staff","title":"Add a dispatcher login","description":"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.","inputSchema":{"type":"object","properties":{"username":{"type":"string","maxLength":40,"description":"Login name for the CRM"},"display_name":{"description":"Name shown in the CRM","type":"string","maxLength":120},"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":30},"password":{"description":"Temporary password; omit to get one generated","type":"string","minLength":6,"maxLength":200},"cities":{"description":"Cities this person works, comma-separated","type":"string","maxLength":300}},"required":["username"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"get_blocks","title":"The workspace as blocks — what is on, what is not, who can switch it on","description":"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\".","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_phone_setup","title":"Twilio phone status, balance, and available numbers","description":"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.","inputSchema":{"type":"object","properties":{"areaCode":{"description":"3-digit US area code","type":"string","maxLength":3},"zip":{"description":"5-digit US ZIP code","type":"string","maxLength":5},"type":{"description":"Type; valid values are listed in the schema","type":"string","enum":["local","toll_free"]},"limit":{"description":"Maximum number of results to return","type":"integer","minimum":1,"maximum":10}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"buy_phone_number","title":"Buy a Twilio business phone number","description":"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.","inputSchema":{"type":"object","properties":{"phoneNumber":{"description":"Exact E.164 number from get_phone_setup","type":"string","maxLength":20},"areaCode":{"description":"3-digit US area code","type":"string","maxLength":3},"type":{"description":"Type; valid values are listed in the schema","type":"string","enum":["local","toll_free"]},"friendlyName":{"description":"Label for the number inside the CRM","type":"string","maxLength":80}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"submit_a2p_registration","title":"Submit A2P 10DLC texting registration","description":"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.","inputSchema":{"type":"object","properties":{"ein":{"description":"US Employer Identification Number of the business","type":"string","maxLength":20},"legalName":{"description":"Legal business name as registered","type":"string","maxLength":120},"businessType":{"description":"Legal form of the business, e.g. LLC","type":"string","maxLength":40},"street":{"description":"Street address of the business","type":"string","maxLength":150},"city":{"description":"City","type":"string","maxLength":80},"state":{"description":"US state, two letters (e.g. FL)","type":"string","maxLength":2},"zip":{"description":"5-digit US ZIP code","type":"string","maxLength":5},"email":{"description":"Email address","type":"string","maxLength":200},"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":30}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true,"idempotentHint":false}},{"name":"get_crm_migration_playbooks","title":"Get CRM migration guides (Housecall Pro, Jobber, Workiz, GoHighLevel, ServiceTitan)","description":"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.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"run_crm_api_extract","title":"Extract data directly from old CRM via API","description":"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.","inputSchema":{"type":"object","properties":{"crm":{"type":"string","enum":["housecall_pro","jobber","workiz","gohighlevel"],"description":"Which CRM the data comes from"},"api_key":{"type":"string","minLength":4,"maxLength":500,"description":"API Key, OAuth Bearer token, or Private Integration Token"},"location_id":{"description":"Required for GoHighLevel","type":"string","maxLength":100},"auto_import":{"description":"If true, saves extracted records directly into the workspace","type":"boolean"},"dry_run":{"description":"If true, validates data without committing to DB","type":"boolean"},"max_pages":{"description":"Maximum number of pages to read","type":"integer","minimum":1,"maximum":10}},"required":["crm","api_key"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true,"idempotentHint":false}},{"name":"import_crm_batch","title":"Batch import records from another CRM (JSON or CSV converted)","description":"Import a bulk batch of customers, jobs, services, materials, technicians, messages or business automations from an old CRM export. Idempotent by phone/email/name.","inputSchema":{"type":"object","properties":{"crm_name":{"description":"Name of the CRM the data comes from","type":"string","maxLength":80},"dry_run":{"description":"true = only check and report what would be imported, change nothing","type":"boolean"},"customers":{"description":"Customers to import","type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"phone":{"type":"string","maxLength":30},"email":{"type":"string","maxLength":200},"city":{"type":"string","maxLength":100},"zip":{"type":"string","maxLength":20},"address":{"type":"string","maxLength":300},"notes":{"type":"string","maxLength":1000},"tags":{"type":"array","items":{"type":"string"}}}}},"jobs":{"description":"Jobs to import","type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":150},"customer_phone":{"type":"string","maxLength":30},"customer_email":{"type":"string","maxLength":200},"status":{"type":"string","maxLength":40},"scheduled_start":{"type":"string","maxLength":60},"scheduled_end":{"type":"string","maxLength":60},"address":{"type":"string","maxLength":250},"estimated_price":{"type":"number"},"final_price":{"type":"number"},"notes":{"type":"string","maxLength":1000}}}},"technicians":{"description":"Technicians to import","type":"array","items":{"type":"object","properties":{"full_name":{"type":"string","maxLength":120},"phone":{"type":"string","maxLength":30},"email":{"type":"string","maxLength":200},"skills":{"type":"array","items":{"type":"string"}},"hourly_rate":{"type":"number"},"vehicle":{"type":"string","maxLength":100}},"required":["full_name"]}},"services":{"description":"Services (price list) to import","type":"array","items":{"type":"object","properties":{"service_name":{"type":"string","maxLength":150},"price":{"type":"number","minimum":0},"price_type":{"type":"string","enum":["fixed","hourly","quote"]},"sku":{"type":"string","maxLength":50},"note":{"type":"string","maxLength":300}},"required":["service_name","price"]}},"materials":{"description":"Materials to import","type":"array","items":{"type":"object","properties":{"product":{"type":"string","maxLength":150},"list_price":{"type":"number","minimum":0},"unit":{"type":"string","maxLength":30},"sku":{"type":"string","maxLength":50},"qty":{"type":"number"}},"required":["product","list_price"]}},"messages":{"description":"Message history to import","type":"array","items":{"type":"object","properties":{"phone":{"type":"string","maxLength":30},"text":{"type":"string","maxLength":4000},"direction":{"type":"string","enum":["inbound","outbound"]},"timestamp":{"type":"string","maxLength":40}},"required":["text"]}},"automations":{"description":"Automations to import","type":"array","items":{"type":"object","properties":{"rule":{"type":"string","maxLength":500},"category":{"type":"string","maxLength":50}},"required":["rule"]}}}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"complete_setup","title":"Mark the workspace live","description":"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.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"get_team","title":"The team","description":"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.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_team_locations","title":"Where the technicians are","description":"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».","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_timesheets","title":"Timesheets","description":"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.","inputSchema":{"type":"object","properties":{"start":{"description":"Start date, YYYY-MM-DD","type":"string","maxLength":10},"end":{"description":"End date, YYYY-MM-DD","type":"string","maxLength":10},"tech_id":{"description":"Technician id (from get_team or list_technicians)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"get_payroll","title":"Payroll totals","description":"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.","inputSchema":{"type":"object","properties":{"week":{"description":"YYYY-MM-DD, a Monday","type":"string","maxLength":10},"from":{"description":"Start date, YYYY-MM-DD","type":"string","maxLength":10},"to":{"description":"End date, YYYY-MM-DD","type":"string","maxLength":10},"detail":{"description":"true = add the per-job breakdown","type":"boolean"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"update_technician","title":"Update a technician","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Technician id (from get_team or list_technicians)"},"full_name":{"description":"Person's full name","type":"string","maxLength":120},"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":30},"email":{"description":"Email address","type":"string","maxLength":200},"skills":{"description":"Skills or trades, e.g. plumbing, drywall","maxItems":30,"type":"array","items":{"type":"string","maxLength":60}},"hourly_rate":{"description":"Hourly pay rate in USD","anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"commission_pct":{"description":"Commission as a fraction from 0 to 1 (0.3 = 30%)","anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]},"employment_type":{"description":"How the person is employed, e.g. employee or contractor","type":"string","maxLength":30},"hire_date":{"description":"Hire date, YYYY-MM-DD","type":"string","maxLength":10},"home_zip":{"description":"ZIP code where the person starts the day","type":"string","maxLength":5},"service_zips":{"description":"ZIP codes this person covers","type":"string","maxLength":500},"notes":{"description":"Free-text notes for the team; never shown to the customer","type":"string","maxLength":2000},"status":{"description":"Status value; valid values are listed in the schema or by get_dictionaries","type":"string","enum":["active","inactive"]}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"set_technician_areas","title":"Set a technician's service areas","description":"Replace the service areas a technician covers (ids from get_team.service_areas). Dispatch routes jobs by these areas.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Technician id (from get_team or list_technicians)"},"area_ids":{"maxItems":50,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"description":"Service area ids (from get_team → service_areas)"}},"required":["id","area_ids"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"update_staff","title":"Update a staff login","description":"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.","inputSchema":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Staff login id (from get_team)"},"display_name":{"description":"Name shown in the CRM","type":"string","maxLength":120},"phone":{"description":"Phone number, 10-digit US; +1 optional","type":"string","maxLength":30},"cities":{"description":"Cities this person works, comma-separated","type":"string","maxLength":300},"is_active":{"description":"false switches it off without deleting","type":"boolean"},"responder_active":{"description":"Auto-reply on this person's leads: true = on, false = off","type":"boolean"}},"required":["id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"list_waiting_cards","title":"My cards waiting for a yes","description":"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.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}},{"name":"confirm_action","title":"Confirm a waiting card (after the person said yes in the chat)","description":"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.","inputSchema":{"type":"object","properties":{"pending_action_id":{"type":"string","minLength":4,"maxLength":64,"description":"from the tool answer or list_waiting_cards"}},"required":["pending_action_id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":true,"idempotentHint":false}},{"name":"reject_action","title":"Drop a waiting card","description":"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.","inputSchema":{"type":"object","properties":{"pending_action_id":{"type":"string","minLength":4,"maxLength":64,"description":"Id of the waiting card, from list_waiting_cards or the result of the tool that staged it"}},"required":["pending_action_id"]},"annotations":{"readOnlyHint":false,"destructiveHint":true,"openWorldHint":false,"idempotentHint":false}},{"name":"send_feedback","title":"Tell the NeurLead team what to improve","description":"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.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","enum":["integration","bug","idea","question","praise"],"description":"Kind of item; valid values are listed in the schema"},"title":{"description":"One line","type":"string","maxLength":120},"text":{"type":"string","minLength":10,"maxLength":4000,"description":"What is wrong or what is needed, and why it matters to the owner"},"name":{"description":"Platform or service name, required for kind \"integration\"","type":"string","maxLength":80}},"required":["kind","text"]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true,"idempotentHint":false}},{"name":"list_my_feedback","title":"What happened to the feedback sent from this workspace","description":"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.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false,"idempotentHint":true}}],"prompts":[{"name":"morning","title":"Morning brief","description":"What needs a person first thing: customers waiting, today's visits, overdue tasks, unpaid invoices.","requiredRight":"leads:read"},{"name":"waiting","title":"Customers waiting for a reply","description":"Every lead where the customer wrote last and nobody answered; a ready reply for each.","requiredRight":"leads:read"},{"name":"photo_estimate","title":"Estimate from photos","description":"Draft an estimate for a lead from its photos and description, priced from the price list.","requiredRight":"leads:read"},{"name":"after_call","title":"After a call","description":"Turn a call into the card: summary, next step, task.","requiredRight":"leads:read"},{"name":"team_check","title":"Technicians today","description":"Who is late, which jobs are not closed, whose hours are missing.","requiredRight":"team:read"},{"name":"dunning","title":"Follow up on money","description":"Estimates without an answer, unpaid invoices, bookings without a deposit — with a short nudge for each.","requiredRight":"money:read"},{"name":"evening","title":"Evening summary","description":"What was closed, sold, moved and left for tomorrow.","requiredRight":"leads:read"},{"name":"setup_crm","title":"Set up this CRM","description":"Guided workspace setup: read the company website, then ask the owner only what is still missing.","requiredRight":"setup:write"}],"resources":[{"name":"company","uri":"neurlead://company","title":"Company profile","description":"Who the company is: brand, services, cities, hours, phone, AI persona, pricing model. Read once, keep in context.","mimeType":"application/json"},{"name":"price-list","uri":"neurlead://price-list","title":"Price list","description":"Every active service with price and type (fixed / hourly / quote) and the hourly terms. Quote only from here.","mimeType":"application/json"},{"name":"dictionaries","uri":"neurlead://dictionaries","title":"Dictionaries","description":"Valid lead statuses, lead sources, service cities, dispatcher usernames, channels, temperatures.","mimeType":"application/json"},{"name":"team","uri":"neurlead://team","title":"Team","description":"Staff logins, technicians with areas and rates, service areas with ids.","mimeType":"application/json"},{"name":"setup","uri":"neurlead://setup","title":"Setup status and playbook","description":"What is still missing in this workspace (todo), the owner-only clicks (human_steps), every profile key, and the playbook for setting the CRM up.","mimeType":"application/json"},{"name":"lead","uri":"neurlead://lead/{id}","title":"Lead card","description":"One lead as text: details, request, notes, recent chat (same as the fetch tool).","mimeType":"text/plain"}],"links":{"documentation":"https://aidispatch.us/connect/docs","privacy":"https://aidispatch.us/connect/privacy","terms":"https://aidispatch.us/connect/terms","support":"mailto:hello@neurlead.com","website":"https://neurlead.com"},"publisher":{"name":"NeurLead","url":"https://neurlead.com","email":"hello@neurlead.com"}}