fix(read_file): use bracket notation for index signature access

This commit is contained in:
Adam Weidman
2026-02-10 11:24:15 -05:00
parent 041c3526b5
commit c3b9703d7b

View File

@@ -237,12 +237,12 @@ export class ReadFileTool extends BaseDeclarativeTool<
};
if (!isGemini3) {
properties.offset = {
properties['offset'] = {
description:
"Optional: For text files, the 0-based line number to start reading from. Requires 'limit' to be set. Use for paginating through large files.",
type: 'number',
};
properties.limit = {
properties['limit'] = {
description:
"Optional: For text files, maximum number of lines to read. Use with 'offset' to paginate through large files. If omitted, reads the entire file (if feasible, up to a default limit).",
type: 'number',