讀檔案
fs_readRead text files with line ranges or PDFs by page, returning rendered page images with total page count and resume position. Essential before editing via fs_edit to capture current file state.
Instructions
讀取檔案。文字檔用行範圍;PDF 用 pages 參數(如 "1-5"、"3"),回傳頁面 PNG 圖像內容(預設單次上限 20 頁,含總頁數與續讀位置);fs_edit 前必讀以建立觀測狀態。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| pages | No | PDF 專用:N / N-M / N-,逗號並列 | |
| maxLines | No | ||
| offsetLine | No |