Implementation
gradeNot graded
gradeNot graded
search_booksAnswer
題名、著者、テーマを検索し、必要ならジャンルと並び順を指定して、画面の検索結果を更新します。
View tool JSON
{
"name": "search_books",
"kind": "answer",
"impl": "imperative",
"description": "題名、著者、テーマを検索し、必要ならジャンルと並び順を指定して、画面の検索結果を更新します。",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 100,
"description": "検索語。空文字で全件を表示します。"
},
"genre": {
"type": "string",
"enum": [
"すべて",
"デザイン",
"小説",
"科学",
"社会",
"心理",
"文化"
]
},
"sort": {
"type": "string",
"enum": [
"relevance",
"newest",
"oldest",
"title"
]
}
},
"required": [
"query"
],
"additionalProperties": false
}
}get_book_detailsAnswer
書籍IDから説明と選書メモを取得し、同じ書籍の詳細を画面に表示します。
View tool JSON
{
"name": "get_book_details",
"kind": "answer",
"impl": "imperative",
"description": "書籍IDから説明と選書メモを取得し、同じ書籍の詳細を画面に表示します。",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "search_booksが返した書籍ID"
}
},
"required": [
"id"
],
"additionalProperties": false
}
}clear_book_searchAction
検索語、ジャンル、並び順を初期化し、全書籍を画面に表示します。
View tool JSON
{
"name": "clear_book_search",
"kind": "act",
"impl": "imperative",
"description": "検索語、ジャンル、並び順を初期化し、全書籍を画面に表示します。",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}search_books_formAction
題名、著者、キーワードを使って書籍を検索し、画面の検索結果を更新します。
View tool JSON
{
"name": "search_books_form",
"kind": "act",
"impl": "declarative",
"description": "題名、著者、キーワードを使って書籍を検索し、画面の検索結果を更新します。",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "例:デザイン、村上春樹、宇宙"
}
}
}
}