Add possibility to run a tool at a specific order
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3548000. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>To work with smaller models or to prevent tool hallucination, we need to setup the agents so that they can run most of the tools that requires no autonomy in a specific order.</p>
<p>This could be done in three ways:</p>
<ul>
<li>Hardcoded loop number</li>
<li>Before tool X</li>
<li>After tool X</li>
</ul>
<p>We should use the required tools to do this, so its dependent on this: <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-1"><a href="https://www.drupal.org/project/ai/issues/3546649" title="Status: Active">#3546649: Add normalization for required tools</a></span>.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Think out a UX on how to fill in this without causing to much problem with the form.</li>
<li>Store it.</li>
<li>Use the required tool section to decide what tools are required at what time.</li>
</ul>
issue