{% extends "base.html" %} {% block title %}Message - Workshop{% endblock %} {% block content %}
← Back to Messages View Full Conversation →

Message Details

{{ message.message_type }} {{ message.timestamp | timeago }}
Message UUID: {{ message.message_uuid }}
{% if message.session_id %}
Session ID: {{ message.session_id }}
{% endif %} {% if message.parent_uuid %}
Parent UUID: {{ message.parent_uuid }}
{% endif %}
Timestamp: {{ message.timestamp }}

Content:

{% if message.content %}
{{ message.content }}
{% else %} {% set tool_content = message.raw_json | extract_tool_content %} {% if tool_content %}
{% for tool in tool_content %} {% if tool.type == 'tool_result' %}
Tool Result {% if tool.is_error %} Error {% endif %}
{{ tool.content }}
{% elif tool.type == 'tool_use' %}
Tool Use: {{ tool.name }}
{{ tool.input | tojson(indent=2) }}
{% endif %} {% endfor %}
{% else %}

No text or tool content

{% endif %} {% endif %}
{{ message.raw_json }}
{% if context_messages and context_messages|length > 1 %}

Conversation Context

Messages before and after this one

{% for ctx_msg in context_messages %}
{{ ctx_msg.message_type }} {{ ctx_msg.timestamp | timeago }} {% if ctx_msg.message_uuid == message.message_uuid %} ← Current Message {% endif %}
{% if ctx_msg.content %} {% if ctx_msg.content|length > 300 %} {{ ctx_msg.content[:300] }}... View full {% else %} {{ ctx_msg.content }} {% endif %} {% else %} {% set tool_content = ctx_msg.raw_json | extract_tool_content %} {% if tool_content %}
{% for tool in tool_content %} {% if tool.type == 'tool_result' %}
Tool Result {{ tool.content[:100] }}{% if tool.content|length > 100 %}...{% endif %}
{% elif tool.type == 'tool_use' %}
{{ tool.name }}
{% endif %} {% endfor %}
View full {% else %} No text or tool content {% endif %} {% endif %}
{% endfor %}
{% endif %}
{% endblock %}