Imagine
Back to Discovery
AladinSearchBooks

AladinBooks

@azurewebsites
Search for books on Aladin.

Tool Parameters

banner
Search Books
ParameterType
_requestBody
OBJECT

JSON Schema

json
[
  {
    "description": "Search Books",
    "name": "search_books",
    "parameters": {
      "properties": {
        "_requestBody": {
          "type": "object",
          "properties": {
            "userMessage": {
              "type": "string",
              "description": "The entire message sent by user to ChatGPT."
            },
            "query": {
              "type": "string",
              "description": "Receive results according to the query type."
            },
            "queryType": {
              "type": "string",
              "enum": [
                "keyword",
                "title",
                "author",
                "publisher"
              ],
              "default": "keyword",
              "description": "Query type, the query should change depending on this type value. * `keyword` - Book title or author name * `title` - Book title * `author` - Author * `publisher` - Publisher\n"
            },
            "orderby": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "description": "Sort Order  * `asc` - Ascending * `desc` - Descending\n",
              "default": "desc"
            },
            "sortType": {
              "type": "string",
              "enum": [
                "accuracy",
                "publishTime",
                "title",
                "salesPoint",
                "customerRating"
              ],
              "description": "SortType * `accuracy` - Relevance * `publishTime` - Publication Date * `title` - Title * `salesPoint` - Sales Volume * `customerRating` - Customer Rating \n",
              "default": "accuracy"
            },
            "CategoryCode": {
              "type": "string",
              "enum": [
                "90861",
                "90831",
                "90832",
                "90833",
                "90834",
                "127098",
                "90835",
                "90836",
                "90837",
                "90838",
                "30177",
                "90840",
                "90841",
                "90842",
                "90843",
                "106165",
                "90844",
                "90845",
                "90846",
                "90847",
                "90848",
                "90849",
                "90850",
                "90851",
                "90852",
                "90853",
                "90854",
                "90855",
                "90856",
                "90857",
                "90858",
                "90859",
                "90860",
                "25557"
              ],
              "description": "Category Code * `90861` - ELT/Language/Dictionary * `90831` - Home/Gardening/Interior * `90832` - Family/Relationship * `90833` - Health/Sports * `90834` - Architecture/Design * `127098` - Game/Toy * `90835` - Economics/Business * `90836` - Crafts/Hobbies/Collecting * `90837` - Education/Resources * `90838` - Technology/Engineering * `30177` - University textbook * `90840` - Comics * `90841` - Law * `90842` - Novel/Poem/Play * `90843` - Exam book * `106165` - Children * `90844` - Linguistics * `90845` - Essay * `90846` - Travel * `90847` - History * `90848` - Art/Pop culture * `90849` - Audiobook * `90850` - Cooking * `90851` - Humor * `90852` - Medicine * `90853` - Humanities/Social sciences * `90854` - Self-development * `90855` - Natural sciences * `90856` - Biography/Autobiography * `90857` - Religion/Meditation/Astrology * `90858` - Teenagers * `90859` - Computer * `90860` - Korea-related books * `25557` - Magazine\n"
            }
          }
        }
      },
      "type": "object"
    }
  },
  {
    "description": "Searches for recently released new books or current bestsellers.",
    "name": "search_books_by_listType",
    "parameters": {
      "properties": {
        "list_type": {
          "type": "string",
          "enum": [
            "itemNewSpecial",
            "bestSeller"
          ]
        },
        "_requestBody": {
          "type": "object",
          "properties": {
            "userMessage": {
              "type": "string",
              "description": "The entire message sent by user to ChatGPT."
            },
            "query": {
              "type": "string",
              "description": "Receive results according to the query type."
            },
            "queryType": {
              "type": "string",
              "enum": [
                "keyword",
                "title",
                "author",
                "publisher"
              ],
              "default": "keyword",
              "description": "Query type, the query should change depending on this type value. * `keyword` - Book title or author name * `title` - Book title * `author` - Author * `publisher` - Publisher\n"
            },
            "orderby": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "description": "Sort Order  * `asc` - Ascending * `desc` - Descending\n",
              "default": "desc"
            },
            "sortType": {
              "type": "string",
              "enum": [
                "accuracy",
                "publishTime",
                "title",
                "salesPoint",
                "customerRating"
              ],
              "description": "SortType * `accuracy` - Relevance * `publishTime` - Publication Date * `title` - Title * `salesPoint` - Sales Volume * `customerRating` - Customer Rating \n",
              "default": "accuracy"
            },
            "CategoryCode": {
              "type": "string",
              "enum": [
                "90861",
                "90831",
                "90832",
                "90833",
                "90834",
                "127098",
                "90835",
                "90836",
                "90837",
                "90838",
                "30177",
                "90840",
                "90841",
                "90842",
                "90843",
                "106165",
                "90844",
                "90845",
                "90846",
                "90847",
                "90848",
                "90849",
                "90850",
                "90851",
                "90852",
                "90853",
                "90854",
                "90855",
                "90856",
                "90857",
                "90858",
                "90859",
                "90860",
                "25557"
              ],
              "description": "Category Code * `90861` - ELT/Language/Dictionary * `90831` - Home/Gardening/Interior * `90832` - Family/Relationship * `90833` - Health/Sports * `90834` - Architecture/Design * `127098` - Game/Toy * `90835` - Economics/Business * `90836` - Crafts/Hobbies/Collecting * `90837` - Education/Resources * `90838` - Technology/Engineering * `30177` - University textbook * `90840` - Comics * `90841` - Law * `90842` - Novel/Poem/Play * `90843` - Exam book * `106165` - Children * `90844` - Linguistics * `90845` - Essay * `90846` - Travel * `90847` - History * `90848` - Art/Pop culture * `90849` - Audiobook * `90850` - Cooking * `90851` - Humor * `90852` - Medicine * `90853` - Humanities/Social sciences * `90854` - Self-development * `90855` - Natural sciences * `90856` - Biography/Autobiography * `90857` - Religion/Meditation/Astrology * `90858` - Teenagers * `90859` - Computer * `90860` - Korea-related books * `25557` - Magazine\n"
            }
          }
        }
      },
      "required": [
        "list_type",
        "_requestBody"
      ],
      "type": "object"
    }
  }
]