Skip to content

Remove ToolType from Workload struct and delete all references #2923

@amirejaz

Description

@amirejaz

We will remove the ToolType column in PR, but it is still part of the Workload struct. ToolType always points to either "mcp" (for container workloads) or "remote" (for remote workloads). It was initially created to differentiate between mcp and other tool types, but MCP seems to stand out without any other type. We can safely remove this field and all its references.

Scope of changes:

  • Remove ToolType field from core.Workload struct
  • Remove LabelToolType and GetToolType from labels package
  • Simplify shouldSkipWorkload logic in client manager (currently checks ToolType != "mcp" && !Remote, can be simplified to just check Remote field)
  • Remove ToolType from list command output
  • Remove ToolType from backend metadata (or keep hardcoded "mcp" in VMCP if needed for external systems)
  • Update tests and API documentation

Metadata

Metadata

Assignees

Labels

apiItems related to the APIcliChanges that impact CLI functionalityenhancementNew feature or requestgoPull requests that update go codegood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions