E0059
Workflow control functions cannot perform application effects.
Workflow control functions cannot perform application effects.
Builders, branches and output functions may only read their arguments and return a result. Calls, HTTP, SQL, KV, clock, randomness and wake scheduling are refused, including when reached through a helper.
Move the effect into a declared tool step. Keep the control function limited to preparing inputs, selecting a branch or producing the final output.