read_file
Reads the content of a text file from a sandboxed workspace by providing a relative path.
Instructions
读取 workspace 内某个文本文件的内容并返回。
Args: path: 相对于 workspace 的文件路径,例如 "hello.txt" 或 "notes/a.txt"。
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 |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |