Exposing HA Scripts to Assist API: Questions on Script Results Access by LLMs

In the recent 2024.4 update, it was announced that HA scripts can now be exposed to the Assist API and consequently to LLMs.

From my understanding, script access was presented as “tools” or a way to guide the LLMs in finding the best action to perform for a given intent. More details in the official blog post.

Do LLMs have access to the script results using response_variable after invoking them?