MCPcopy Index your code
hub / github.com/simstudioai/sim / getIssueBadgeLabel

Function getIssueBadgeLabel

apps/sim/lib/mcp/tool-validation.ts:93–101  ·  view source on GitHub ↗
(issue: McpToolIssue)

Source from the content-addressed store, hash-verified

91}
92
93export function getIssueBadgeLabel(issue: McpToolIssue): string {
94 switch (issue.type) {
95 case 'schema_changed':
96 case 'url_changed':
97 return 'stale'
98 default:
99 return 'unavailable'
100 }
101}
102
103export function getIssueBadgeVariant(issue: McpToolIssue): 'amber' | 'red' {
104 switch (issue.type) {

Callers 3

MCPFunction · 0.90
tool-input.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected