Active Alerts
flowcheck_get_alertsRetrieve 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "flowcheck_get_alerts"
}
}Input 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 }] }; }, );