MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / to_dict

Method to_dict

tools/terminal.py:83–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 timed_out: bool = False
82
83 def to_dict(self) -> dict[str, Any]:
84 return {
85 "command": self.command,
86 "output": self.output,
87 "exit_code": self.exit_code,
88 "timed_out": self.timed_out,
89 }
90
91
92class _HTMLTextParser(HTMLParser):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected