MCPcopy Create free account
hub / github.com/github/gh-aw / safeOutputScriptFilename

Function safeOutputScriptFilename

pkg/workflow/safe_scripts.go:124–126  ·  view source on GitHub ↗

safeOutputScriptFilename returns the .cjs filename for a normalized safe output script name.

(normalizedName string)

Source from the content-addressed store, hash-verified

122
123// safeOutputScriptFilename returns the .cjs filename for a normalized safe output script name.
124func safeOutputScriptFilename(normalizedName string) string {
125 return "safe_output_script_" + normalizedName + ".cjs"
126}
127
128// generateCustomScriptToolDefinition creates an MCP tool definition for a custom safe-output script.
129// Returns a map representing the tool definition in MCP format with name, description, and inputSchema.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected