search_book
Search a library of books and receive cited, scored excerpts. Combine semantic and keyword search, with optional filters for book, author, or source type.
Instructions
Search the library and return cited, scored excerpts.
Combines semantic and keyword search by default. Optionally scope to one book (book_id), or filter by exact author or source_type (one of "pdf", "epub", "markdown", "text").
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": {
"question": "<question>"
},
"name": "search_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | ||
| book_id | No | ||
| top_k | No | ||
| author | No | ||
| source_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |