MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / CommandResultMessage

Class CommandResultMessage

relay/protocol.py:141–150  ·  view source on GitHub ↗

Command result from Unity

Source from the content-addressed store, hash-verified

139
140
141class CommandResultMessage(Message):
142 """Command result from Unity"""
143
144 model_config = ConfigDict(frozen=True)
145
146 type: Literal["COMMAND_RESULT"] = "COMMAND_RESULT"
147 id: str = ""
148 success: bool = True
149 data: dict[str, Any] | None = None
150 error: dict[str, str] | None = None
151
152
153class PongMessage(Message):

Callers 2

test_success_resultMethod · 0.90
test_error_resultMethod · 0.90

Calls

no outgoing calls

Tested by 2

test_success_resultMethod · 0.72
test_error_resultMethod · 0.72