List asset keys
asset_listList asset files and their uppercase keys from community packages or the custom library. Use it to find a key before reading asset text.
Instructions
List asset files and the uppercase keys they declare, from community/*/assets and 05_资产库/用户自定义. Use it to discover a key before asset_read; do not use it to fetch asset text (asset_read) or to list modules/patterns (module_read / pattern_list). Optional package is an exact directory name, not a glob, path, or regex, and restricts the scan to community//assets (for example 校园情感领域包); README.md files are skipped. A package with no matching files returns an empty list, not an error.
Keys are sorted and uncapped; each call rescans the local asset files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "asset_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | Optional community package name; omit to scan all community assets and 05_资产库. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Asset files and their declared keys. |