mcp required args

This commit is contained in:
Shen Junzheng
2025-04-09 00:01:13 +08:00
parent 4250057ba8
commit d92e974ce6
2 changed files with 6 additions and 2 deletions

View File

@@ -92,8 +92,9 @@ type Tool struct {
}
type ToolSchema struct {
Type string `json:"type"`
Properties M `json:"properties"`
Type string `json:"type"`
Properties M `json:"properties"`
Required []string `json:"required,omitempty"`
}
// {