fgui_list_items
Lists resources in a specified FairyGUI package, with optional filtering by resource type and branch, so agents can inspect available assets without switching branches.
Instructions
列出指定包中的资源,可按 FairyGUI 资源类型过滤。
省略 branch 时跟随当前活跃分支,branch="" 表示主干。返回的分支视角中, 分支资源覆盖同名主干资源;只读操作可以读取非活跃分支,不需要先切换。
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": {
"package_name": "<package_name>"
},
"name": "fgui_list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| item_type | No | ||
| package_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |