feat: add MCP support (#20716)

Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
This commit is contained in:
Novice 2025-07-10 14:01:34 +08:00 • committed by GitHub
commit 535fff62f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 6634 additions and 154 deletions

View file

@ -32,7 +32,7 @@ class RequestInvokeTool(BaseModel):
Request to invoke a tool
"""
tool_type: Literal["builtin", "workflow", "api"]
tool_type: Literal["builtin", "workflow", "api", "mcp"]
provider: str
tool: str
tool_parameters: dict