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

Function isWorkflowArtifactPath

apps/sim/lib/copilot/tools/tool-display.ts:53–56  ·  view source on GitHub ↗
(path: string, filename: string)

Source from the content-addressed store, hash-verified

51}
52
53function isWorkflowArtifactPath(path: string, filename: string): boolean {
54 const trimmed = path.trim()
55 return trimmed.startsWith('workflows/') && trimmed.endsWith(`/${filename}`)
56}
57
58function workspaceFileTitle(args: ToolArgs): string {
59 const title = stringArg(args, 'title')

Callers 1

getToolDisplayTitleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected