Is your feature request related to a problem? Please describe.
See #713 (comment)
If a script triggers a dialog, it will time out.
Describe the solution you'd like
We should automatically handle dialogs during script evaluation and allow configuring this on the tool call.
Describe alternatives you've considered
N/A
Additional context
No response