Fetch CNBS Nodes
cnbs_fetch_nodesQuery China National Bureau of Statistics classification tree nodes. Specify one or more category codes (e.g., '3' for yearly). Optionally provide parentId to navigate sub-trees. Nodes with isEnd=true contain a setId.
Instructions
获取中国国家统计局分类树节点。支持同时查询多个分类。isEnd=true 的节点 id 即为 setId。
Args:
categories (string | string[]): 单个或多个分类代码,如 "3" 或 ["1","2","3"](1月度 2季度 3年度 5分省季度 6分省年度 7其他)
parentId (string): 父节点ID,空或省略表示从根节点开始(单分类时有效)
Returns: 分类树节点列表,多个分类时返回按分类代码分组的结果
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | Yes | 单个或多个分类代码,如 "3" 或 ["1","2","3"] | |
| parentId | No | 父节点ID,空或省略表示从根节点开始 |