read_project_files
Retrieves content of project files to provide code context for expert analysis. Accepts file path, optional pattern, and file limit.
Instructions
读取项目文件内容,让专家了解代码上下文
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_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件或目录路径(相对于当前工作目录) | |
| pattern | No | 文件匹配模式(如 *.ts, *.js),仅读取目录时有效 | |
| maxFiles | No | 最多读取文件数(默认 10) |