get_category_detail
Retrieve complete details of a product category by its ID, including name, description, parent category, and position.
Instructions
取得單一商品分類的完整詳情。
【用途】 查詢特定分類的名稱、描述、父分類等完整資訊。 適合在已知分類 ID 的情況下取得詳細欄位。
【呼叫的 Shopline API】
GET /v1/categories/{category_id}
【回傳結構】 dict 包含 id, name, parent_id, description, position, created_at, updated_at。
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": {
"category_id": "<category_id>"
},
"name": "get_category_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | 分類 ID(由 get_category_tree 回傳的 id 欄位) |