fix default start_line

This commit is contained in:
afjcjsbx 2026-03-27 22:46:53 +01:00
parent 957d75d226
commit 2f725bf0da

View file

@ -527,7 +527,7 @@ func (t *ReadFileLinesTool) Execute(ctx context.Context, args map[string]any) *T
return ErrorResult("path is required")
}
startLine, err := getInt64Arg(args, "start_line", 0)
startLine, err := getInt64Arg(args, "start_line", 1)
if err != nil {
return ErrorResult(err.Error())
}