Add new flag ChatCombinedToolsAndStructure
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3550163. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !933
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>So it turns out that some providers or models, can't take both tool calling and structured output as options in the same request. This means that we need to set which providers can do that, so we can do a workaround for the providers that can't.</p>
<p>Its still unclear if this is on provider or model level, but we assume model level for now, even if all models might be encapsulated by it.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>In AiModelCapability set the new flag ChatCombinedToolsAndStructuredResponse, add it to the base operation types, and give it a title and description.</p>
issue