upc_library_book
Submit a single library seat reservation for an explicitly selected room, seat, date, and time window, verifying identity, availability, layout, captcha, and existing bookings before posting.
Instructions
Submit one explicit library seat reservation for the named target.
Call only when the user explicitly selected this room/seat/date/start/end and asked to book. The tool verifies identity, dates, layout, selectable seat, time options, existing reservations and captcha state before the single POST. It never retries, never cancels, never signs in, and never treats a timeout or unknown response as failure. A local receipt is written before the POST; a successful booking is claimed only after a read-only current-reservation check.
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": {
"room_id": "<room_id>",
"seat_id": "<seat_id>",
"date": "<date>",
"start_id": "<start_id>",
"end_id": "<end_id>"
},
"name": "upc_library_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | 显式 YYYY-MM-DD。 | |
| end_id | Yes | 学校返回的结束时间 ID。 | |
| room_id | Yes | 学校返回的房间 ID。 | |
| seat_id | Yes | 学校返回的座位 ID。 | |
| start_id | Yes | 学校返回的开始时间 ID。 | |
| session_ref | No | self |