@for (item of contents(); track $index) { @switch (item.type) { @case ('text') { } @case ('tool_use') {
Tool: {{item.name}}
{{item.id}}
{{item.input}}
} @case ('image_url') { } } }