You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -191,13 +191,22 @@ The following are all built-in tools in Kimi CLI.
191
191
### `ReadFile`
192
192
193
193
- **Path**: `kimi_cli.tools.file:ReadFile`
194
-
- **Description**: Read file content. Supports text, image, and video files. For text files, max 1000 lines per read, max 2000 characters per line; for image/video files, max 80MB. Files outside working directory require absolute paths.
194
+
- **Description**: Read text file content. Max 1000 lines per read, max 2000 characters per line. Files outside working directory require absolute paths.
195
+
196
+
| Parameter | Type | Description |
197
+
|-----------|------|-------------|
198
+
| `path` | string | File path |
199
+
| `line_offset` | int | Starting line number, default 1 |
200
+
| `n_lines` | int | Number of lines to read, default/max 1000 |
201
+
202
+
### `ReadMediaFile`
203
+
204
+
- **Path**: `kimi_cli.tools.file:ReadMediaFile`
205
+
- **Description**: Read image or video files. Max file size 100MB. Only available when the model supports image/video input. Files outside working directory require absolute paths.
195
206
196
207
| Parameter | Type | Description |
197
208
|-----------|------|-------------|
198
209
| `path` | string | File path |
199
-
| `line_offset` | int | Starting line number, default 1 (text files only) |
200
-
| `n_lines` | int | Number of lines to read, default/max 1000 (text files only) |
0 commit comments