Validate that the function call is not empty in tool explorer
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3554785. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !977 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When the ToolExplorer checks for violations, any tool without any inputs would return NULL, rather then an object. So we need to validate this.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <p>Try to run a tool without an input, it will fail.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Check if it is an object.</p>
issue