MCPcopy Create free account
hub / github.com/1rgs/claude-code-proxy / Message

Class Message

server.py:188–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187
188class Message(BaseModel):
189 role: Literal["user", "assistant"]
190 content: Union[
191 str,
192 List[
193 Union[
194 ContentBlockText,
195 ContentBlockImage,
196 ContentBlockToolUse,
197 ContentBlockToolResult,
198 ]
199 ],
200 ]
201
202
203class Tool(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected