This document details how plugins can reverse invoke Tool services within the Dify platform. It covers three types of tool invocation methods calling installed tools (Built-in Tool), calling Workflow as Tool, and calling custom tools (Custom Tool). Each method includes corresponding entry points and interface parameter descriptions.
self.session.tool
field of the plugin.
provider
is the plugin ID plus the tool provider name, formatted like langgenius/google/google
. tool_name
is the specific tool name, and parameters
are the arguments passed to the tool.
/plugin-dev-zh/9223-tool
does not exist in English list, linked to closest match).
Entry Point
provider
is the ID of this tool, and tool_name
is specified during the creation of the tool.
provider
is the ID of this tool, and tool_name
is the operation_id
from the OpenAPI specification. If it doesn’t exist, it’s the tool_name
automatically generated by Dify, which can be found on the tool management page.
/plugin-dev-zh/9223-tool
does not exist in English list, linked to closest match)