Tool tree
ruienxie0104.github.io exposes WebMCP tools to AI agents.
Implementation
gradeNot graded
gradeNot graded
get_inventory_statusAnswer
查詢書店庫存狀態。可依 ISBN 或分類過濾;不帶參數回傳全量。
View tool JSON
{
"name": "get_inventory_status",
"kind": "answer",
"impl": "imperative",
"description": "查詢書店庫存狀態。可依 ISBN 或分類過濾;不帶參數回傳全量。",
"inputSchema": {
"type": "object",
"properties": {
"isbn": {
"type": "string",
"description": "書目 ISBN(完整比對)"
},
"category": {
"type": "string",
"enum": [
"文學",
"科普",
"技術",
"兒童"
],
"description": "分類過濾"
}
},
"additionalProperties": false
},
"page": "/webmcp-bookstore-demo/"
}search_titlesAnswer
以關鍵字搜尋書名、作者或 ISBN(大小寫不敏感),可再按分類過濾。
View tool JSON
{
"name": "search_titles",
"kind": "answer",
"impl": "imperative",
"description": "以關鍵字搜尋書名、作者或 ISBN(大小寫不敏感),可再按分類過濾。",
"inputSchema": {
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "關鍵字(substring)"
},
"category": {
"type": "string",
"enum": [
"文學",
"科普",
"技術",
"兒童"
],
"description": "分類過濾"
}
},
"required": [
"keyword"
],
"additionalProperties": false
},
"page": "/webmcp-bookstore-demo/"
}get_low_stock_reportAnswer
產生偏低或缺書的庫存清單(庫存少於 5 本),供補貨判斷。
View tool JSON
{
"name": "get_low_stock_report",
"kind": "answer",
"impl": "imperative",
"description": "產生偏低或缺書的庫存清單(庫存少於 5 本),供補貨判斷。",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/webmcp-bookstore-demo/"
}