read_project_file
Read UTF-8 project files from a chosen workspace path while preventing out-of-bounds access, enabling safe file inspection during the current chat.
Instructions
读取所选工作区内的 UTF-8 文本文件,禁止越界访问。
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_chars | No | ||
| workspace | No | 当前原生聊天所打开工作区的绝对路径;每次调用按当前聊天动态选择,不绑定安装目录。 |