{
  "model_name": "advanced-mcp-extension-lifecycle",
  "expects": {
    "tools_used": ["tool_search", "tool_install"],
    "tools_order": ["tool_search", "tool_install"],
    "all_tools_succeeded": true,
    "min_responses": 2
  },
  "turns": [
    {
      "user_input": "setup mock-notion",
      "steps": [
        {
          "request_hint": { "last_user_message_contains": "setup mock-notion" },
          "response": {
            "type": "tool_calls",
            "tool_calls": [
              {
                "id": "call_search_1",
                "name": "tool_search",
                "arguments": { "query": "mock-notion" }
              }
            ],
            "input_tokens": 500,
            "output_tokens": 30
          }
        },
        {
          "request_hint": { "last_user_message_contains": "setup mock-notion", "min_message_count": 4 },
          "response": {
            "type": "tool_calls",
            "tool_calls": [
              {
                "id": "call_install_1",
                "name": "tool_install",
                "arguments": { "name": "mock-notion" }
              }
            ],
            "input_tokens": 600,
            "output_tokens": 30
          }
        },
        {
          "request_hint": { "last_user_message_contains": "setup mock-notion", "min_message_count": 6 },
          "response": {
            "type": "text",
            "content": "I've installed Mock Notion. Please authenticate to connect your account — once done, tell me and I'll load the MCP tools.",
            "input_tokens": 700,
            "output_tokens": 35
          }
        }
      ]
    },
    {
      "user_input": "it's done, check what's in my notion",
      "steps": [
        {
          "request_hint": { "last_user_message_contains": "notion" },
          "response": {
            "type": "tool_calls",
            "tool_calls": [
              {
                "id": "call_ns_1",
                "name": "mock-notion_notion-search",
                "arguments": { "query": "recent notes" }
              }
            ],
            "input_tokens": 900,
            "output_tokens": 30
          }
        },
        {
          "request_hint": { "min_message_count": 4 },
          "response": {
            "type": "tool_calls",
            "tool_calls": [
              {
                "id": "call_nf_1",
                "name": "mock-notion_notion-fetch",
                "arguments": { "query": "page-001" }
              }
            ],
            "input_tokens": 1000,
            "output_tokens": 30
          }
        },
        {
          "response": {
            "type": "text",
            "content": "Here's what I found in your Notion:\n\n**Project Alpha** — Status: In Progress\n- Sprint planning on March 15\n- API redesign review pending\n\nLet me know if you want more details on any item.",
            "input_tokens": 1100,
            "output_tokens": 50
          }
        }
      ]
    }
  ]
}
