attendance_insert_passage
Log RFID entry/exit events by providing user ID, date, time, direction, gate, and reader. Returns HTTP 201 to confirm the access passage was recorded.
Instructions
Record a new access passage event (RFID entry/exit). Returns HTTP 201 on success.
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": {
"PkUzivatel": "<PkUzivatel>",
"Datum": "<Datum>",
"Cas": "<Cas>",
"Smer": "<Smer>",
"Hlavni": "<Hlavni>",
"BranaId": "<BranaId>",
"CteckaId": "<CteckaId>"
},
"name": "attendance_insert_passage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Cas | Yes | Time HH:MM:SS | |
| Smer | Yes | 'P' = arrival, 'O' = departure, 'X' = no direction | |
| Datum | Yes | Date YYYY-MM-DD | |
| Hlavni | Yes | Is main entrance? | |
| BranaId | Yes | Gate identifier (max 40 chars) | |
| CteckaId | Yes | Reader identifier (max 40 chars) | |
| Poznamka | No | Optional note (max 255 chars) | |
| PkUzivatel | Yes | User ID (staff or student) |