MCPcopy Create free account
hub / github.com/bytedance/trae-agent / __init__

Method __init__

trae_agent/tools/edit_tool_cli.py:30–33  ·  view source on GitHub ↗
(self, output: str | None = None, error: str | None = None, error_code: int = 0)

Source from the content-addressed store, hash-verified

28# A class used to encapsulate the results of tool execution
29class ToolExecResult:
30 def __init__(self, output: str | None = None, error: str | None = None, error_code: int = 0):
31 self.output = output
32 self.error = error
33 self.error_code = error_code
34
35
36# Class used to describe tool parameters (although not directly used in CLI, TextEditTool's methods require it)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected