出勤安全线(还能缺几次课)
attendance出勤安全线(还能缺几次课):这学期还能缺几次课?按总课时、已缺课、学校最低出勤率,算出你的出勤安全线和还能缺的课时数,临界提前预警。 传入参数对象,返回确定性计算结果与依据。适用场景:模型算数不稳、法规口径易错时,调用它拿准确答案。
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": {
"total": "<total>",
"attended": "<attended>",
"absent": "<absent>",
"minAttend": "<minAttend>"
},
"name": "attendance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | 学期总课时 | |
| absent | Yes | 已缺勤课时 | |
| attended | Yes | 已出勤课时 | |
| minAttend | Yes | 学校最低出勤率,0.75 或 75 均可(可选,默认0.75) |