Load of a trainer
trainer_loadCounts a trainer's sessions and billed days for a given YYYY-MM month from engagement records, helping you assess monthly workload and billing.
Instructions
Count the sessions a trainer is engaged for in one month, and the days billed for them, from the trainer engagements. A session belongs to the month it starts in.
Engagements are recorded up to mid-October 2026: a later month returns zero.
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": {
"trainer_id": "<trainer_id>",
"month": "<month>"
},
"name": "trainer_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | Yes | Month, as YYYY-MM (2026-10). | |
| trainer_id | Yes | Id of the trainer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Days billed by the trainer for those sessions. | |
| month | Yes | ||
| sessions | Yes | Engagements of the trainer in sessions starting that month. | |
| trainer_id | Yes |