Skip to content

tools sets: show warming if a set has no tools #250483

@aeschli

Description

@aeschli

Testing #250309

Create the following tool set:

{
	"test1": {
		"tools": [
			
		],
		"description": "no tools",
		"icon": "arrow-both"
	},
}

You could show a warning on the tools array by using minItems

{
  "type": "array",
  "minItems": 1,
  "items": {
    "type": "string"
  }
}

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchat-toolsinsiders-releasedPatch has been released in VS Code InsiderspolishCleanup and polish issueverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions