mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-23 10:55:45 -04:00
8 lines
282 B
Python
8 lines
282 B
Python
from collections.abc import Generator
|
|
from dify_plugin.entities.tool import ToolInvokeMessage
|
|
from dify_plugin import Tool
|
|
|
|
|
|
class ToolTool(Tool):
|
|
def invoke(self, tool_parameters: dict) -> Generator[ToolInvokeMessage, None, None]:
|
|
return super().invoke(tool_parameters) |