file_read
Read the contents of a specified file using its path, with options to set offset and limit for partial reads.
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": "file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件路径(相对项目根目录或绝对路径) | |
| limit | No | ||
| offset | No |