Check out this reference page.
I believe you grabbed this from the Norns/crow study, and removed the crow. prefix. In other cases, this would be a fine way to adapt a crow command on Norns to crow⌠but on Norns, you have to wrap asl actions in strings before sending them to crow, whereas on crow you do not
When directly coding on crow (either via a script or live in the druid REPL), you do not wrap asls in quotes:
output[1].action = {to(0,0),to(5,0.1),to(1,2)}
output[1]()