```diff
--- test_files/298-original.txt	2025-03-07 19:06:44
+++ test_files/298-modified.txt	2025-03-07 19:06:44
@@ -1,8 +1,10 @@
+from typing import Dict
+
 from pydantic import BaseModel, Field
 
-from composio.tools.local.base import Action
+from composio.tools.base.local import LocalAction
 from composio.tools.local.shelltool.shell_exec.actions.exec import ShellExecRequest
-from composio.tools.local.shelltool.utils import get_logger
+from composio.utils.logging import get as get_logger
 
 
 STATUS_RUNNING = "running"
@@ -16,31 +18,28 @@
 
 class GetWorkspaceHistoryResponse(BaseModel):
     workspace_history: dict = Field(
-        ..., description="history of last n commands on the workspace"
+        ...,
+        description="history of last n commands on the workspace",
     )
 
 
 class GetWorkspaceHistory(
-    Action[GetWorkspaceHistoryRequest, GetWorkspaceHistoryResponse]
+    LocalAction[
+        GetWorkspaceHistoryRequest,
+        GetWorkspaceHistoryResponse,
+    ]
 ):
     """
-    returns history for workspace.
-    History includes -
-            - state of the environment
-            - last executed n commands
-            - output from last n commands
+    Returns history for workspace which includes
+        - state of the environment
+        - last executed n commands
+        - output from last n commands
     """
 
-    _display_name = "Get workspace history"
     _tags = ["workspace"]
-    _tool_name = "historyfetchertool"
-    _request_schema = GetWorkspaceHistoryRequest
-    _response_schema = GetWorkspaceHistoryResponse
     _history_len = 5
 
     def execute(
-        self,
-        request_data: GetWorkspaceHistoryRequest,
-        authorisation_data: dict,
-    ) -> dict:
-        return {}
+        self, request: GetWorkspaceHistoryRequest, metadata: Dict
+    ) -> GetWorkspaceHistoryResponse:
+        return GetWorkspaceHistoryResponse(workspace_history={})
```
