IsMCPScriptsEnabled checks if mcp-scripts are configured. MCP Scripts are enabled by default when configured in the workflow.
(mcpScripts *MCPScriptsConfig)
| 76 | // IsMCPScriptsEnabled checks if mcp-scripts are configured. |
| 77 | // MCP Scripts are enabled by default when configured in the workflow. |
| 78 | func IsMCPScriptsEnabled(mcpScripts *MCPScriptsConfig) bool { |
| 79 | return HasMCPScripts(mcpScripts) |
| 80 | } |
| 81 | |
| 82 | // parseMCPScriptToolConfig parses a single MCP script tool configuration from a map. |
| 83 | // It initialises all fields to their defaults and populates them from toolMap. |