feat(tool system): Optimization of the tool system

1. Optimization of the JSON tool, add insert, replace, delete, parse
2. Optimization of the mcp test_connection
3. tool list desc
4. datetime_tool default timezone set Asia/Shanghai
This commit is contained in:
谢俊男
2025-12-26 19:11:20 +08:00
parent 05e25c5882
commit 9fb7d7d059
6 changed files with 300 additions and 25 deletions

View File

@@ -225,7 +225,7 @@ class CustomToolCreateRequest(BaseModel):
class ParseSchemaRequest(BaseModel):
"""解析Schema请求"""
schema_content: Optional[Dict[str, Any]] = Field(None, description="OpenAPI schema内容")
schema_content: Optional[str] = Field(None, description="OpenAPI schema内容")
schema_url: Optional[str] = Field(None, description="OpenAPI schema URL")