{"record":{"id":"bf43b28160cb9683","repo":"googleapis/mcp-toolbox","slug":"error-generating-tools-manifest-w","errorCode":null,"errorMessage":"error generating tools manifest: %w","messagePattern":"error generating tools manifest: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/server/mcp/v20260728/manifests.go","lineNumber":204,"sourceCode":"\tres := ListPromptsResult{\n\t\tPrompts: mcpManifest,\n\t\tResult: Result{\n\t\t\tResultType: resultTypeComplete,\n\t\t},\n\t\tCacheableResult: CacheableResult{\n\t\t\tTtlMs:      g.GetTTLMs(),\n\t\t\tCacheScope: cacheScope(g.GetCacheScope()),\n\t\t},\n\t}\n\treturn res, nil\n}\n\n// GenerateGetGroupResult generates the groups/get result for a single group's\n// tools and prompts.\nfunc GenerateGetGroupResult(pMgr *primitives.PrimitiveManager, g group.Group, urlParams map[string]string, supportsSecureParams bool) (GetGroupResult, error) {\n\tlistToolsResult, err := GenerateListToolsResult(pMgr, g, urlParams, supportsSecureParams)\n\tif err != nil {\n\t\treturn GetGroupResult{}, fmt.Errorf(\"error generating tools manifest: %w\", err)\n\t}\n\tlistPromptsResult, err := GenerateListPromptsResult(pMgr, g)\n\tif err != nil {\n\t\treturn GetGroupResult{}, fmt.Errorf(\"error generating prompts manifest: %w\", err)\n\t}\n\treturn GetGroupResult{\n\t\tName:    g.Name,\n\t\tTools:   listToolsResult.Tools,\n\t\tPrompts: listPromptsResult.Prompts,\n\t}, nil\n}\n","sourceCodeStart":186,"sourceCodeEnd":216,"githubUrl":"https://github.com/googleapis/mcp-toolbox/blob/8cc6e09de2ad7b8bffc77751799585a1401a48eb/internal/server/mcp/v20260728/manifests.go#L186-L216","documentation":"Error \"error generating tools manifest: %w\" thrown in googleapis/mcp-toolbox.","triggerScenarios":"Thrown at internal/server/mcp/v20260728/manifests.go:204 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8cc6e09de2ad7b8bffc77751799585a1401a48eb","analyzedAt":"2026-09-05T01:10:36.887Z","contentChangedAt":"2026-09-05T01:10:36.887Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}