list_payments
Retrieve payments and invoices filtered by family, school, or date range to view billing details or calculate revenue.
Instructions
List payments / invoices, filterable by family / school / date range.
Use when: "show me all payments for family 555 in October" or "what was our total revenue at school 1234 last month?"
Args:
family_id: restrict to one family.
school_id: restrict to one school.
date_from: ISO date YYYY-MM-DD (inclusive).
date_to: ISO date YYYY-MM-DD (inclusive).
limit: max records.
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": "list_payments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| date_to | No | ||
| date_from | No | ||
| family_id | No | ||
| school_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |