plugins tools allow multiple additions, but only one is actually displayed in Dify. Is this a BUG or is there a deeper meaning? #11

Closed
opened 2026-02-15 21:15:17 -05:00 by yindo · 1 comment
Owner

Originally created by @junjiem on GitHub (Mar 5, 2025).

Image

Image

Image

plugins:
tools:
allow multiple additions, but only one is actually displayed in Dify. Is this a BUG or is there a deeper meaning?

Originally created by @junjiem on GitHub (Mar 5, 2025). ![Image](https://github.com/user-attachments/assets/a5c0efad-c363-48ec-9c91-f0b4a98f58ea) ![Image](https://github.com/user-attachments/assets/ca7df04f-a5e0-4ff1-aea3-93d18f2c9887) ![Image](https://github.com/user-attachments/assets/86203ab4-bd99-4cb6-9de3-a5767f21fc1e) plugins: tools: allow multiple additions, but only one is actually displayed in Dify. Is this a BUG or is there a deeper meaning?
yindo closed this issue 2026-02-15 21:15:17 -05:00
Author
Owner

@Mairuis commented on GitHub (Dec 9, 2025):

Hi @junjiem,

Thanks for raising this question. This is expected behavior, not a bug.

Currently, a plugin does not support multiple tool providers, but it does support multiple tools under a single provider.

Correct structure:

# manifest.yaml
plugins:
  tools:
    - provider: my_provider   # Only ONE provider per plugin
my_plugin/
├── manifest.yaml
├── provider/
│   └── my_provider.yaml
└── tools/
    ├── tool_1.yaml          # Multiple tools under one provider ✅
    ├── tool_1.py
    ├── tool_2.yaml
    ├── tool_2.py
    └── ...

If you need tools from different "categories", you should either:

  1. Create separate plugins for each provider
  2. Or organize all tools under a single provider

Closing this issue as it's working as designed.

@Mairuis commented on GitHub (Dec 9, 2025): Hi @junjiem, Thanks for raising this question. This is expected behavior, not a bug. Currently, a plugin **does not support multiple tool providers**, but it **does support multiple tools** under a single provider. ### Correct structure: ```yaml # manifest.yaml plugins: tools: - provider: my_provider # Only ONE provider per plugin ``` ``` my_plugin/ ├── manifest.yaml ├── provider/ │ └── my_provider.yaml └── tools/ ├── tool_1.yaml # Multiple tools under one provider ✅ ├── tool_1.py ├── tool_2.yaml ├── tool_2.py └── ... ``` If you need tools from different "categories", you should either: 1. Create separate plugins for each provider 2. Or organize all tools under a single provider Closing this issue as it's working as designed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#11