flowcheck_get_alerts
Retrieve active alerts and discrepancies categorized by severity (high/medium/low) with summaries and related payout IDs to detect issues and validate financial workflows.
Instructions
Get active alerts and discrepancies. Returns severity-categorized alerts (high/medium/low) with summaries and related payout IDs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/agent.ts:25-39 (handler)The handler implementation for the `flowcheck_get_alerts` tool, which fetches active alerts and discrepancies from the FlowCheck API.
server.registerTool( "flowcheck_get_alerts", { title: "Active Alerts", description: "Get active alerts and discrepancies. " + "Returns severity-categorized alerts (high/medium/low) " + "with summaries and related payout IDs.", inputSchema: z.object({}), }, async () => { const result = await client.request("GET", "/agent/alerts"); return { content: [{ type: "text" as const, text: result }] }; }, );