fix : fix issue #2222 (#2231)

This commit is contained in:
EricaLiu
2025-05-14 15:40:19 +08:00
committed by GitHub
parent ff308d5292
commit 8ccc170500

View File

@@ -68,7 +68,7 @@ type ToolArgs struct {
Required bool `json:"required,omitempty"`
Default interface{} `json:"default,omitempty"`
Enum []interface{} `json:"enum,omitempty"`
Items []interface{} `json:"items,omitempty"`
Items interface{} `json:"items,omitempty"`
Properties interface{} `json:"properties,omitempty"`
Position string `json:"position,omitempty"`
}