tutor_earnings
Calculate a tutor's total earnings within an optional date range by providing their tutor ID.
Instructions
Tutor Earnings
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tutor_id": "<tutor_id>"
},
"name": "tutor_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Session starts_at <= ISO date | |
| from | No | Session starts_at >= ISO date | |
| tutor_id | Yes | Tutor UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tutor_id | Yes | ||
| period_end | No | ||
| earned_cents | No | ||
| period_start | No | ||
| unpaid_cents | No | ||
| paid_out_cents | No | ||
| sessions_count | No |