renew_loan
Renew a library loan for a specified title ID, optionally setting loan length in days or choosing a library card, after confirming with the user.
Instructions
Renew a loan (possible from its renewable_on date). Confirm with the user first.
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_id": "<title_id>"
},
"name": "renew_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Loan length in days; defaults to the card's preference. | |
| library | No | Library key of the card to use; optional with a single linked card. | |
| title_id | Yes | OverDrive title id the library owns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |