openmanus.cpp/include/tools/python_execute.h

27 lines
599 B
C
Raw Permalink Normal View History

2025-03-10 02:38:39 +08:00
#ifndef OPENMANUS_TOOLS_PYTHON_EXECUTE_H
#define OPENMANUS_TOOLS_PYTHON_EXECUTE_H
#include "../tool_base.h"
namespace openmanus {
/**
* @class PythonExecute
* @brief PythonPython
*/
class PythonExecute : public ToolBase {
public:
PythonExecute();
virtual ~PythonExecute() = default;
/**
* @brief Python
* @param params code
* @return
*/
virtual mcp::json execute(const mcp::json& params) override;
};
} // namespace openmanus
#endif // OPENMANUS_TOOLS_PYTHON_EXECUTE_H