借阅图书
checkout_bookBorrow an available book from the library using its book ID and a member ID. User confirmation is required before checkout completes.
Instructions
借阅一本可用图书;执行前必须由用户确认
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": {
"book_id": "<book_id>",
"member_id": "<member_id>"
},
"name": "checkout_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | ||
| member_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| book_id | Yes | ||
| loan_id | Yes | ||
| member_id | Yes |