mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 10:25:23 -04:00
5858fe715e
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 lines
300 B
Python
12 lines
300 B
Python
from collections.abc import Generator
|
|
|
|
from dify_plugin import Tool
|
|
from dify_plugin.entities.tool import ToolInvokeMessage
|
|
|
|
|
|
class ToolTool(Tool):
|
|
def _invoke(
|
|
self, tool_parameters: dict
|
|
) -> Generator[ToolInvokeMessage, None, None]:
|
|
return super()._invoke(tool_parameters)
|