AI agent instructions
AI agent instructions
evaluate_js records it: objects and
arrays as JSON, a JS null as the string "null". On failure the typed
exception is raised with the actual JavaScript error; pass
raise_on_failure=False to get the ExecutionResult envelope instead.
Parameters
str
required
bool
default:"True"
Returns
UnionType[str, ExecutionResult]