TestRunner only captures detailed results from first tool when multiple tools of same type pass parameter checks
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3549091. --> Reported by: [j-barnes](https://www.drupal.org/user/3542106) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When running tests with multiple tools of the same type (e.g., multiple ai_search:rag_search calls), the TestRunner's checkParameterValue() method only captures detailed results from the first tool instance when all tools pass their<br> parameter checks. This causes the detailed test results to show identical "Actual" values for all instances of the same tool type, even when the tools are using different parameter values.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1. Create a test that triggers multiple calls to the same tool type with different parameters<br> - Example: Test with two RAG searches using different search_string values<br> 2. Ensure all tools pass their parameter validation checks<br> 3. Run the test and examine detailed results<br> 4. Notice that both tool instances show the same "Actual" value in detailed results</p> <p><strong>Expected:</strong> Each tool instance shows its own distinct parameter values in the "Actual" column<br> <strong>Actual:</strong> All instances of the same tool type show identical values (from the first tool only)</p> <p><strong>Duplicate Actual</strong>:<br> <img src="https://www.drupal.org/files/issues/2025-09-27/actual_on_success.png" alt="details"></p> <p><strong>Expected under detailed usage shows correct values</strong>:<br> (check under the rag search string)<br> <img src="https://www.drupal.org/files/issues/2025-09-27/detailed_tool_usage.png" alt="details"></p>
issue