Multiple tool calls in batch

Tests › tests/unit/mcp/tool_calling_loop_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/mcp/tool_calling_loop_test.cpp:145 · its file's page

What it checks (4)

  1. REQUIRE(results.size() == 2) observes process_tool_calls via results
  2. REQUIRE(results[0].content.find("Alice") != std::string::npos) observes process_tool_calls via results
  3. REQUIRE(results[1].content.find("Bob") != std::string::npos) observes process_tool_calls via results
  4. REQUIRE(ctx.metrics.tool_calls == 2) not attributed

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

Multiple tool calls in batch→register_server→initialize→process_tool_calls→REQUIRE→GreetServer

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

Multiple tool calls in batch · 4 checksprocess_tool_calls… 3 calls …entropic_versionREQ-ABI-001 · inferredprocess_tool_calls… 5 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredprocess_tool_calls… 5 calls …entropic_last_errorREQ-API-003 · inferredprocess_tool_calls… 5 calls …entropic_session_bind_workspaceREQ-API-005 · inferredprocess_tool_calls… 5 calls …entropic_last_errorREQ-API-007 · inferredprocess_tool_calls… 3 calls …entropic_versionREQ-API-008 · inferredprocess_tool_calls… 6 calls …claim_exclusiveREQ-API-009 · inferredprocess_tool_calls… 7 calls …entropic_set_state_observerREQ-API-010 · inferredprocess_tool_calls… 5 calls …handle_askREQ-API-012 · inferredprocess_tool_callscalldispatchREQ-BRIDGE-001 · inferredprocess_tool_calls… 8 calls …resolve_data_dirREQ-CFG-008 · inferredprocess_tool_calls… 4 calls …extract_context_refsREQ-DELEG-006 · inferred

and 41 more requirement paths, listed below.

Also reaches 53 requirements

Its run touches their code; that is reach, not proof.