list_directory
Get the file listing for any folder in the ant-design/ant-design repository. Specify a branch, tag, or commit SHA and the directory path.
Instructions
实时读取 ant-design/ant-design 仓库某个目录的文件列表。
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": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | 分支、tag 或 commit SHA | master |
| path | No | 目录路径,例如 components/button;根目录传空字符串 |