Marquee&Lasso&MagicWand tools not work by scripting

I want to divide a isometric tile into four by scripting. I guess “polygonal_lasso” maybe a good choice.
Here is my testing script:
do
local spr = app.activeSprite
local l = app.range.layers[1]
local br = Brush{
type=BrushType.SQUARE,
size=10,
angle=20,
center=Point(5, 5),
pattern=BrushPattern.ORIGIN,
patternOrigin=Point(0, 0),
}
app.activeBrush=br
local ee = app.useTool{
tool=“polygonal_lasso”, – pencil works well
color=Color{r=5, g=0, b=172},
brush =br,
points={Point(20, 95), Point(70,95), Point(0,5)},
frame=spr.frames[1],
layer=app.range.layers[1],
cel=l:cel(spr.frames[1]),
}
app.command.Cut()
end

But nothing happened after excuting this script. If I use “pencil” instead of “polygonal_lasso” , it looks like everything is ok. I tried to find some samples of marquee/lasso/magicwand tools script but found nothing. What should I do to handle selected area from marquee/lasso/magicwand tools?

Aseprite version: v1.2.16.3-x64 (from steam)

I’ve found this too.

Did you end up finding a work-around?

I use “selection:add” select every pixels to substitute for “polygonal_lasso”. It‘s not elegant but works well.