Duibonduil's picture
Upload 2 files
5fad09e verified
# coding: utf-8
# Copyright (c) 2025 inclusionAI.
from examples.tools.tool_action import PythonToolAction
from aworld.core.tool.action_factory import ActionFactory
from aworld.core.tool.action import ExecutableAction
@ActionFactory.register(name=PythonToolAction.EXECUTE.value.name,
desc=PythonToolAction.EXECUTE.value.desc,
tool_name="python_execute")
class ExecuteAction(ExecutableAction):
"""Only one action, define it, implemented can be omitted."""