AI Core: Add support for multi-value input in tools explorer
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3522234. -->
Reported by: [andrewbelcher](https://www.drupal.org/user/655282)
Related to !579
>>>
<p>Building on top of <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3522221" title="Status: Closed (fixed)">#3522221: Support mapped enums for AI tool property input</a></span> for mapped enum support.</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The tool explorer is super helpful, but if you have any properties that are multi valued (i.e. lists), you cannot provide input for it.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Use the tool explorer on a multi value property.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>- For enums, show as a multi select<br>
- For string/int show as multi-row textarea and process the results</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>Different input elements for multi value items.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>None</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>None</p>
> Related issue: [Issue #3522221](https://www.drupal.org/node/3522221)
issue