read_file
Reads text files from the ant-design repository by specifying a file path and optional branch, tag, or commit SHA to retrieve content.
Instructions
实时读取 ant-design/ant-design 仓库中的文本文件内容。
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": {
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | 分支、tag 或 commit SHA | master |
| path | Yes | 文件路径,例如 components/button/button.tsx |