kimi_read_file
Read text files from a local path, returning up to a specified number of lines. Optionally set an offset to start reading from any line.
Instructions
Read a text file. Returns file content up to limit lines.
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": "kimi_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path to read | |
| limit | No | Max lines to read (default: 1000) | |
| offset | No | Line offset to start from (0-based) | |
| workFolder | No |