record_loan
Records a checked-out library book for a branch, with optional author; dates use YYYY-MM-DD, checked-out defaults to today, and due defaults to 21 days later.
Instructions
Record a checked-out book. Dates use YYYY-MM-DD; checked_out defaults to today and due defaults to checked_out + loan_days (21).
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": {
"title": "<title>",
"branch": "<branch>"
},
"name": "record_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | ||
| title | Yes | ||
| author | No | ||
| branch | Yes | ||
| loan_days | No | ||
| checked_out | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |