crm_briefing
ChatGPTOne-call summaries. view='today' (new leads, open/overdue tasks, pipeline, deals won), 'attention' (overdue/stale/unassigned items), 'forecast' (weighted pipeline + win rate), 'insights' (lead KPI/trend/segment), 'lead_scoring' (score stats + hot-lead counts), 'targets' (the org's OWN goals), 'pipeline' (deals by stage).
fetch
ChatGPTRetrieve one CRM record in full by an id returned from search. Personal data is masked; the url opens the unmasked record.
get_lead_detail
ChatGPTGet full lead profile (masked PII) with notes, tasks, deals, and activity. Use public_id (e.g. SKDE-CRM-LD-000042). Set include_contact_link=true to also get a CRM deep-link where the user can view unmasked phone/email.
get_me
ChatGPTGet current user identity, organization, and which fields are masked.
get_schema
ChatGPTInspect CRM structure. view='fields' (default: field defs + custom fields + masked flags + the KPI lifecycle), 'dictionary' (field meanings PLUS the ACTUAL top values with counts — call FIRST for any 'how many by <field>'), 'workflow_rules' (lead routing rules), 'modules' (list modules).
list_leads
ChatGPTList leads (masked PII). Filter to narrow results. The response includes filter_summary (which fields/values were filtered) — ALWAYS show it. Also returns suggested_followups and, on a 0-result, did-you-mean suggestions.
list_organizations
ChatGPTList the organizations this account can operate in. If the user belongs to more than one, ask which one and pass it as organization on later data tools. Single-org accounts are scoped automatically.
list_team_members
ChatGPTList active team members. Use to resolve a name (e.g. 'Pooja') to a user id for task/lead assignment.
manage_lead
ChatGPTCreate or update leads. action='create' (one lead; needs a name/email/company), 'update' (by public_id; supports custom_data + OCC expected_row_version), 'bulk_create' (≤100/call, 500/day), 'bulk_update' (filtered mass update; requires filters + updates, two-phase confirm).
manage_note
ChatGPTWrite to a lead's timeline. action='create' (new note), 'update' (edit an existing note by note_id), 'log' (log a call/meeting/email/note activity). The activity log shows it came 'via Claude'. Confirm with the user before writing.
manage_task
ChatGPTCreate, update, complete, or delete a task. action='create' (title required; assigned_to resolves a name; lead_public_id links a lead). 'update'/'complete'/'delete' are two-phase confirm-gated (first call previews + returns a confirm_token; re-call with confirm=true + the token). delete is destructive.
module_analytics
ChatGPTServer-side aggregation for any module (no raw rows), grouped by any field incl. custom fields. Capped at limit groups by count (sets is_truncated/total_groups); raise limit (max 200) before computing a median/bottom-N. sort_order='asc' surfaces smallest groups.
query_module
ChatGPTQuery any CRM module with search/filters/sorting (PII masked). For 500K+ records prefer module_analytics. For leads, filter field 'source' spans all source columns (alias-aware); use 'lead_source'/'utm_source' to restrict. The response includes filter_summary — ALWAYS show it.
search
ChatGPTSearch the CRM for records matching a query. Returns ids/titles/links; call fetch for the full record.
set_active_organization
ChatGPTConfirm which organization this conversation operates in (multi-org accounts). Call AFTER the user picks one, then pass the SAME organization value on every later data tool — the choice is not remembered server-side.