diff --git a/pkg/cli/mcp_inspect.go b/pkg/cli/mcp_inspect.go index 54b8f4e38bc..658d8e103b2 100644 --- a/pkg/cli/mcp_inspect.go +++ b/pkg/cli/mcp_inspect.go @@ -250,7 +250,7 @@ func buildFrontmatterFromWorkflowData(workflowData *workflow.WorkflowData) map[s frontmatter := make(map[string]any) // Add tools section if present - if workflowData.Tools != nil && len(workflowData.Tools) > 0 { + if len(workflowData.Tools) > 0 { frontmatter["tools"] = workflowData.Tools }