Skip to main content
Glama

validate_node_minimal

Validate required fields in n8n workflows by passing node type and empty configuration. Ensure correct setup for automation tasks with minimal input.

Instructions

Check n8n node required fields. Pass nodeType as string and config as empty object {}. Example: nodeType="nodes-base.webhook", config={}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configYesConfiguration object. Always pass {} for empty config
nodeTypeYesNode type as string. Example: "nodes-base.slack"

Implementation Reference

  • The core handler function that implements the validate_node_minimal tool logic. It fetches the node by type, identifies required essential fields, checks which are missing from the provided config, and returns the list of missing fields.
    async validateNodeMinimal(args: any) { // Get node and check minimal requirements const node = await this.repository.getNodeByType(args.nodeType); if (!node) { return { missingFields: [], error: 'Node type not found' }; } const missingFields: string[] = []; const requiredFields = PropertyFilter.getEssentials(node.properties || [], args.nodeType).required; for (const field of requiredFields) { if (!args.config[field.name]) { missingFields.push(field.name); } } return { missingFields }; }
  • Input parameter validation schema specifically for the validate_node_minimal tool. Ensures nodeType is a string and config is an object.
    * Validate parameters for validate_node_minimal tool */ static validateNodeMinimal(args: any): ValidationResult { const nodeTypeResult = Validator.validateString(args.nodeType, 'nodeType'); const configResult = Validator.validateObject(args.config, 'config'); return Validator.combineResults(nodeTypeResult, configResult); }
  • Lists 'validate_node_minimal' as one of the validation tools, indicating its registration in the toolset (migration script preserving tool list).
    validation: [ 'validate_node_minimal', 'validate_node_operation', 'validate_workflow', 'validate_workflow_connections', 'validate_workflow_expressions' ],
  • Documentation note indicating that validate_node_minimal has been consolidated into a new validate_node tool.
    // Consolidated validation tool (replaces validate_node_operation and validate_node_minimal)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/czlonkowski/n8n-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server