{% from "partials/_structured_data_view.html" import render_value %}
Execution Result
{% if share_id %}{% endif %}
{# Check for the new result_raw_json variable first #} {% if result_raw_json is defined %}
{{ result_raw_json }}
{# Fallback for old context or if result was an error string from backend before formatting #} {% elif result is string %}
{{ result }}
{% elif result %} {# Fallback if result_raw_json is somehow not provided but result (dict) is #}
{{ result | tojson(indent=2) }}
{% else %}

No results to display yet.

{% endif %}
{% if result is string %}

{{ result }}

{% elif result is mapping %} {{ render_value(result) }} {% elif result %}

Structured view not available for this result type (not a dictionary).

{{ result | tojson(indent=2) }}
{% else %}

No results to display yet.

{% endif %}
{# Hidden identifiers #} {% if share_id %} {% endif %} Sending…