Tools provided
Tools the agent exposes — your AI client calls them automatically when it needs them.
- run_full — Run the full churn-signal detection pipeline: collect Intercom + Stripe data, score churn risk, generate CSM narrative, return the complete ChurnAgentResult JSON.
- analyze_churn_risk — Analyze pre-collected RawData (Intercom + Stripe) into scored ChurnFinding[]. Pure deterministic analysis, no LLM.
- get_high_risk_accounts — Filter to accounts requiring immediate CSM action (risk_level=high), with Salesforce opportunity recommendation and at-risk MRR.
- generate_csm_alert — Generate a Slack-ready CSM alert message for the highest-risk accounts. Internal use only.
- scan_account_signals — Inspect a single account's churn risk signals without running the full pipeline.
- discover_intent — Intent-discovery front door: state a freeform goal and get a co-designed input proposal.
- plan_inputs — Return questions, schema and a ready-to-edit example for a named tool.
- list_capabilities — List agent capabilities: tools, scoring formula, credential slots, and guardrails.