search_books
Search for books by title or author and retrieve details including publication year and cover images using Open Library's free API.
Instructions
搜索图书信息(标题、作者、出版年份、封面等)。 数据来源: Open Library,完全免费。
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": {
"query": "<query>"
},
"name": "search_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 搜索关键词(书名、作者等) | |
| limit | No | 返回结果数,默认 5,最大 20 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |