Senpilot CX Tool Manager
Multi-tenant tool registry and execution service for AI agents. Configure tenant-specific tool implementations and route tool calls to internal databases or external APIs.
- GET
/api/healthHealth check
- POST
/api/tools/executeExecute a tool for a tenant
- GET
/api/tools/definitionsGet tool definitions (for LLM integration)
- CRUD
/api/tenantsManage tenants
- CRUD
/api/tenants/[id]/toolsConfigure tools per tenant
check_account_balanceChecks a customer's account balance for their utility bill (ZapCo Electric, AquaFlow Water, or GreenLeaf Energy). Returns current balance, due date, payment history, and past due amounts.
check_outage_mapChecks if there are any service outages in the customer's area based on their zip code. Returns active outages, estimated restoration times, and affected areas.
check_current_meterGets the current meter reading for a customer's account. Returns the latest reading, timestamp, and usage since last reading.
analyze_meterAnalyzes meter usage patterns and trends over time to help identify unusual consumption. Returns usage trends, anomalies, and recommendations.
analyze_billsAnalyzes billing history and payment patterns to help with payment plans or billing questions. Returns payment history, trends, and payment plan eligibility.
create_ticketCreates a support ticket for customer issues like billing disputes, service problems, outage reports, or meter issues.
curl -X POST http://localhost:3000/api/tools/execute \
-H "Content-Type: application/json" \
-d '{
"tenantId": "<your-tenant-id>",
"toolName": "check_account_balance",
"input": {
"accountNumber": "ACC-12345"
}
}'