`tool_ai_connector` doesn't maintain module dependencies
### Related issue https://git.drupalcode.org/project/ai_agents/-/work_items/3586016 ### Description If an AI Agent uses a tool via the tool_ai_connector, the module dependencies are lost. E.g. Using the tool `entity_save` from the `tool_belt_content` sub-module from `tool_belt` should list `tool_belt_content` as one of the dependencies. This is in addition of `tool_ai_connector` being listed as well. ### Steps to reproduce Provided in https://git.drupalcode.org/project/ai_agents/-/work_items/3586016 ### Tool module version 1.0.x-dev ### AI usage (if applicable) - [ ] **AI Assisted Issue:** This issue was generated with AI assistance, but was reviewed and refined by the creator. - [ ] **AI Assisted Code:** This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision. - [ ] **AI Generated Code:** This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human. - [ ] **Vibe Coded:** This code was generated by an AI and has only been functionally tested.
issue