Implementation
gradeNot graded
gradeNot graded
search_booksAnswer
Search the used-book catalog by title, author, marginalia text, or condition.
View tool JSON
{
"name": "search_books",
"kind": "answer",
"impl": "imperative",
"description": "Search the used-book catalog by title, author, marginalia text, or condition.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"condition": {
"type": "string",
"enum": [
"Como nuevo",
"Con marcas",
"Bien leído"
]
},
"maxPrice": {
"type": "number"
}
}
}
}get_book_detailsAnswer
Get full details for one book, including its condition and marginalia note.
View tool JSON
{
"name": "get_book_details",
"kind": "answer",
"impl": "imperative",
"description": "Get full details for one book, including its condition and marginalia note.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
}preview_bookSensitive Action
Get a short excerpt (a few sentences) from a book, for preview purposes only — not the full text.
View tool JSON
{
"name": "preview_book",
"kind": "transact",
"impl": "imperative",
"description": "Get a short excerpt (a few sentences) from a book, for preview purposes only — not the full text.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
}hold_bookSensitive Action
Place a 24-hour hold on a single unique copy so no one else can buy it first.
View tool JSON
{
"name": "hold_book",
"kind": "transact",
"impl": "imperative",
"description": "Place a 24-hour hold on a single unique copy so no one else can buy it first.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"holderName": {
"type": "string"
}
},
"required": [
"id"
]
}
}release_holdSensitive Action
Cancel a hold on a book, making it available again.
View tool JSON
{
"name": "release_hold",
"kind": "transact",
"impl": "imperative",
"description": "Cancel a hold on a book, making it available again.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
}