Browse Source

fix: tool parameters

Yeuoly 9 months ago
parent
commit
9f289c42d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/types/entities/requests/tool.go

+ 1 - 1
internal/types/entities/requests/tool.go

@@ -26,7 +26,7 @@ func init() {
 type InvokeToolSchema struct {
 	Provider       string         `json:"provider" validate:"required"`
 	Tool           string         `json:"tool" validate:"required"`
-	ToolParameters map[string]any `json:"tool_parameters" validate:"omitempty,dive,is_basic_type"`
+	ToolParameters map[string]any `json:"tool_parameters" validate:"omitempty"`
 }
 
 type RequestInvokeTool struct {