flowcheck_get_position
Retrieve a 7-day financial summary including balances, cash flow, health score, and open discrepancies to analyze financial position and detect issues.
Instructions
Get a 7-day financial summary designed for AI agents. Returns balances, payout counts, cash flow, health score, and open discrepancies in a single call.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/agent.ts:19-22 (handler)The handler function for the flowcheck_get_position tool, which fetches data from the /agent/position endpoint.
async () => { const result = await client.request("GET", "/agent/position"); return { content: [{ type: "text" as const, text: result }] }; }, - src/tools/agent.ts:9-23 (registration)Tool registration for flowcheck_get_position within the registerAgentTools function.
server.registerTool( "flowcheck_get_position", { title: "Financial Position", description: "Get a 7-day financial summary designed for AI agents. " + "Returns balances, payout counts, cash flow, health score, " + "and open discrepancies in a single call.", inputSchema: z.object({}), }, async () => { const result = await client.request("GET", "/agent/position"); return { content: [{ type: "text" as const, text: result }] }; }, );