style: fix gofmt formatting in claude_types.go

This commit is contained in:
shaw
2025-12-31 23:50:15 +08:00
parent 2ccdc2b8ef
commit 8e55ee0e2c

View File

@@ -41,7 +41,7 @@ type ClaudeMetadata struct {
// 1. 标准格式: { "name": "...", "description": "...", "input_schema": {...} }
// 2. Custom 格式 (MCP): { "type": "custom", "name": "...", "custom": { "description": "...", "input_schema": {...} } }
type ClaudeTool struct {
Type string `json:"type,omitempty"` // "custom" 或空(标准格式)
Type string `json:"type,omitempty"` // "custom" 或空(标准格式)
Name string `json:"name"`
Description string `json:"description,omitempty"` // 标准格式使用
InputSchema map[string]any `json:"input_schema,omitempty"` // 标准格式使用