test_case_id: "embed_ac_filter_select_csv_001"
description: "Tests «artifact_content:products.csv>>>filter_rows_eq:status:active>>>select_cols:id,name>>>format:csv»."
tags: ["common","embeds"]
skip_intermediate_events: true

setup_artifacts:
  - filename: "products.csv"
    mime_type: "text/csv"
    content: "id,name,status\n1,A,active\n2,B,inactive\n3,C,active"
gateway_input:
  target_agent_name: "TestAgent"
  user_identity: "embed_late_tester@example.com"
  parts: [{type: "text", text: "Filter and select from products.csv"}]
llm_interactions:
  - static_response:
      choices: [{message: {role: "assistant", content: "Result: «artifact_content:products.csv>>>filter_rows_eq:status:active>>>select_cols:id,name>>>format:csv»"}}]
expected_gateway_output:
  - type: "final_response"
    content_parts:
      - type: "text"
        text_contains: "Result: id,name\n1,A\n3,C"
