MCPcopy Index your code
hub / github.com/sml2h3/ddddocr / MCPResponse

Class MCPResponse

ddddocr/api/models.py:105–109  ·  view source on GitHub ↗

MCP响应模型

Source from the content-addressed store, hash-verified

103
104
105class MCPResponse(BaseModel):
106 """MCP响应模型"""
107 result: Optional[Any] = Field(None, description="结果")
108 error: Optional[Dict[str, Any]] = Field(None, description="错误信息")
109 id: Optional[Union[str, int]] = Field(None, description="请求ID")
110
111
112class MCPCapabilities(BaseModel):

Callers 1

call_toolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…