toolDisplayKey converts a snake_case MCP tool name into the hyphenated YAML frontmatter key (e.g. "create_pull_request" -> "create-pull-request").
(toolName string)
| 346 | // toolDisplayKey converts a snake_case MCP tool name into the hyphenated YAML |
| 347 | // frontmatter key (e.g. "create_pull_request" -> "create-pull-request"). |
| 348 | func toolDisplayKey(toolName string) string { |
| 349 | return strings.ReplaceAll(toolName, "_", "-") |
| 350 | } |
no outgoing calls
no test coverage detected