edit_file: copy exact text (including whitespace) into old_string. Binary formats (xlsx, docx, pdf) belong with extraction tools, not here.
Authentication and enablement
No integration. The file must already exist on the task (upload orgenerate_file). Default-on.
Inputs
file_id(required): UUID of the file.offset(optional): 1-indexed start line; default 1.limit(optional): max lines; default all.
Output
File content prefixed with line numbers.Limits and side effects
- Text formats only: html, md, csv, txt, json, xml, svg, yaml.
- Read-only.
Expected errors
- Invalid or unknown
file_id. - Negative
offset/limit. - Binary / unsupported format.