Reverse Invocation of Dify Services
This document briefly introduces the reverse invocation capability of Dify plugins, meaning plugins can call specified services within the main Dify platform. It lists four types of modules that can be invoked, App (access App data), Model (call model capabilities within the platform), Tool (call other tool plugins within the platform), and Node (call nodes within a Chatflow/Workflow application).
Plugins can freely call some services within the main Dify platform to enhance their capabilities.
Callable Dify Modules
-
Plugins can access data from Apps within the Dify platform.
-
Plugins can reverse invoke LLM capabilities within the Dify platform, including all model types and functions within the platform, such as TTS, Rerank, etc.
-
Plugins can call other tool-type plugins within the Dify platform.
-
Plugins can call nodes within a specific Chatflow/Workflow application in the Dify platform.
Related Resources
- Develop Extension Plugins - Learn how to develop plugins that integrate with external systems
- Develop a Slack Bot Plugin - An example of using reverse invocation to integrate with the Slack platform
- Bundle Type Plugins - Learn how to package multiple plugins that use reverse invocation
- Using Persistent Storage - Enhance plugin capabilities through KV storage