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

Function operationTitle

apps/sim/lib/copilot/tools/tool-display.ts:44–51  ·  view source on GitHub ↗
(
  args: ToolArgs,
  placeholder: string,
  labels: Record<string, string>
)

Source from the content-addressed store, hash-verified

42}
43
44function operationTitle(
45 args: ToolArgs,
46 placeholder: string,
47 labels: Record<string, string>
48): string {
49 const operation = stringArg(args, 'operation')
50 return labels[operation] ?? placeholder
51}
52
53function isWorkflowArtifactPath(path: string, filename: string): boolean {
54 const trimmed = path.trim()

Callers 1

getToolDisplayTitleFunction · 0.85

Calls 1

stringArgFunction · 0.85

Tested by

no test coverage detected