{
  "$schema": "../../profile-schema.json",
  "profile_name": "n8n-optimized",
  "profile_id": "n8n-optimized",
  "profile_aliases": [
    "n8n-optimized"
  ],
  "openapi_spec_path": "./openapi.yaml",
  "description": "Minimal tool set grouped by CRUD actions, with non-CRUD operations in a separate tool.",
  "parameter_aliases": {
    "id": [
      "credential_id",
      "execution_id",
      "tag_id",
      "user_id",
      "variable_id",
      "workflow_id"
    ],
    "projectId": [
      "project_id"
    ],
    "userId": [
      "user_id"
    ],
    "workflowId": [
      "workflow_id"
    ],
    "versionId": [
      "version_id"
    ],
    "credentialTypeName": [
      "credential_type_name"
    ],
    "includeData": [
      "include_data"
    ],
    "includeRole": [
      "include_role"
    ]
  },
  "tools": [
    {
      "name": "retrieve_content",
      "description": "Read-only access to n8n resources (list/get only).",
      "metadata_params": [
        "action"
      ],
      "operations": {
        "get_credential_schema": "get_/credentials/schema/{credentialTypeName}",
        "list_executions": "get_/executions",
        "get_execution": "get_/executions/{id}",
        "list_projects": "get_/projects",
        "list_tags": "get_/tags",
        "get_tag": "get_/tags/{id}",
        "list_users": "get_/users",
        "get_user": "get_/users/{id}",
        "list_variables": "get_/variables",
        "list_workflows": "get_/workflows",
        "get_workflow": "get_/workflows/{id}",
        "get_workflow_version": "get_/workflows/{id}/{versionId}",
        "get_workflow_tags": "get_/workflows/{id}/tags"
      },
      "response_fields": {
        "list_executions": [
          "data(id,status,mode,startedAt,stoppedAt,workflowId,finished,retryOf,retrySuccessId)",
          "nextCursor"
        ],
        "get_execution": [
          "id",
          "status",
          "mode",
          "startedAt",
          "stoppedAt",
          "workflowId",
          "finished",
          "retryOf",
          "retrySuccessId"
        ],
        "list_projects": [
          "data(id,name,type)",
          "nextCursor"
        ],
        "list_tags": [
          "data(id,name,createdAt,updatedAt)",
          "nextCursor"
        ],
        "get_tag": [
          "id",
          "name",
          "createdAt",
          "updatedAt"
        ],
        "list_users": [
          "data(id,email,firstName,lastName,role,isPending)",
          "nextCursor"
        ],
        "get_user": [
          "id",
          "email",
          "firstName",
          "lastName",
          "role",
          "isPending",
          "createdAt",
          "updatedAt"
        ],
        "list_variables": [
          "data(id,key,value,type,project(id,name,type))",
          "nextCursor"
        ],
        "list_workflows": [
          "data(id,name,active,createdAt,updatedAt,tags(id,name),settings(timezone,executionTimeout))",
          "nextCursor"
        ],
        "get_workflow": [
          "id",
          "name",
          "active",
          "createdAt",
          "updatedAt",
          "tags(id,name)",
          "settings(timezone,executionTimeout)"
        ],
        "get_workflow_version": [
          "versionId",
          "workflowId",
          "name",
          "createdAt",
          "updatedAt",
          "authors"
        ],
        "get_workflow_tags": [
          "id",
          "name",
          "createdAt",
          "updatedAt"
        ]
      },
      "parameters": {
        "id": {
          "type": [
            "string",
            "number"
          ],
          "description": "Property id",
          "required_for": [
            "get_execution",
            "get_tag",
            "get_user",
            "get_workflow",
            "get_workflow_version",
            "get_workflow_tags"
          ],
          "required": false
        },
        "name": {
          "type": "string",
          "description": "Property name"
        },
        "type": {
          "type": "string",
          "description": "Property type"
        },
        "data": {
          "type": "object",
          "description": "Credential data (object). Required when creating or changing credential type.",
          "properties": {}
        },
        "isResolvable": {
          "type": "boolean",
          "description": "Property isResolvable"
        },
        "createdAt": {
          "type": "string",
          "description": "Property createdAt"
        },
        "updatedAt": {
          "type": "string",
          "description": "Property updatedAt"
        },
        "isGlobal": {
          "type": "boolean",
          "description": "Property isGlobal"
        },
        "isPartialData": {
          "type": "boolean",
          "description": "Property isPartialData"
        },
        "destinationProjectId": {
          "type": "string",
          "description": "Property destinationProjectId"
        },
        "credentialTypeName": {
          "type": "string",
          "description": "The credential type name that you want to get the schema for",
          "required_for": [
            "get_credential_schema"
          ],
          "required": false
        },
        "includeData": {
          "type": "boolean",
          "description": "Whether or not to include the execution's detailed data."
        },
        "status": {
          "type": "string",
          "description": "Status to filter the executions by."
        },
        "workflowId": {
          "type": "string",
          "description": "Workflow to filter the executions by."
        },
        "projectId": {
          "type": "string",
          "description": "Parameter projectId"
        },
        "limit": {
          "type": "number",
          "description": "The maximum number of items to return."
        },
        "cursor": {
          "type": "string",
          "description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
        },
        "loadWorkflow": {
          "type": "boolean",
          "description": "Property loadWorkflow"
        },
        "relations": {
          "type": "array",
          "description": "Array of user relations to add: [{ userId, role }]",
          "items": {
            "type": "object",
            "properties": {
              "userId": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            }
          }
        },
        "userId": {
          "type": "string",
          "description": "The ID of the user."
        },
        "role": {
          "type": "string",
          "description": "Property role"
        },
        "includeRole": {
          "type": "boolean",
          "description": "Whether to include the user's role or not."
        },
        "newRoleName": {
          "type": "string",
          "description": "Property newRoleName"
        },
        "users": {
          "type": "array",
          "description": "Array of users to create: [{ email, role }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "state": {
          "type": "string",
          "description": "Parameter state"
        },
        "key": {
          "type": "string",
          "description": "Property key"
        },
        "value": {
          "type": "string",
          "description": "Property value"
        },
        "active": {
          "type": "boolean",
          "description": "Parameter active"
        },
        "tags": {
          "type": "array",
          "description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "excludePinnedData": {
          "type": "boolean",
          "description": "Set this to avoid retrieving pinned data"
        },
        "nodes": {
          "type": "array",
          "description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "connections": {
          "type": "object",
          "description": "Connections map keyed by node name, following n8n workflow schema.",
          "properties": {}
        },
        "settings": {
          "type": "object",
          "description": "Workflow settings object (timezone, executionTimeout, etc.).",
          "properties": {}
        },
        "staticData": {
          "type": "string",
          "description": "Property staticData"
        },
        "shared": {
          "type": "array",
          "description": "Property shared",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "activeVersion": {
          "type": "object",
          "description": "Property activeVersion",
          "properties": {}
        },
        "versionId": {
          "type": "string",
          "description": "The version ID to retrieve",
          "required_for": [
            "get_workflow_version"
          ],
          "required": false
        },
        "description": {
          "type": "string",
          "description": "Property description"
        },
        "tag_ids": {
          "type": "array",
          "description": "Tag IDs to apply to the workflow: [{ id }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "action": {
          "type": "string",
          "enum": [
            "get_credential_schema",
            "get_execution",
            "get_tag",
            "get_user",
            "get_workflow",
            "get_workflow_tags",
            "get_workflow_version",
            "list_executions",
            "list_projects",
            "list_tags",
            "list_users",
            "list_variables",
            "list_workflows"
          ],
          "description": "Action to perform",
          "required": true
        },
        "additionalOptions": {
          "type": "object",
          "description": "Property additionalOptions",
          "properties": {}
        },
        "force": {
          "type": "boolean",
          "description": "Property force"
        },
        "variables": {
          "type": "object",
          "description": "Property variables",
          "properties": {}
        }
      }
    },
    {
      "name": "create_content",
      "description": "Create n8n resources (create only).",
      "metadata_params": [
        "action"
      ],
      "operations": {
        "create_credential": "post_/credentials",
        "create_project": "post_/projects",
        "add_project_users": "post_/projects/{projectId}/users",
        "create_tag": "post_/tags",
        "create_users": "post_/users",
        "create_variable": "post_/variables",
        "create_workflow": "post_/workflows"
      },
      "response_fields": {
        "create_credential": [
          "id",
          "name",
          "type",
          "createdAt",
          "updatedAt"
        ],
        "create_tag": [
          "id",
          "name",
          "createdAt",
          "updatedAt"
        ],
        "create_users": [
          "user(id,email,inviteAcceptUrl,emailSent)",
          "error"
        ],
        "create_workflow": [
          "id",
          "name",
          "active",
          "createdAt",
          "updatedAt",
          "tags(id,name)",
          "settings(timezone,executionTimeout)"
        ]
      },
      "parameters": {
        "name": {
          "type": "string",
          "description": "Property name",
          "required_for": [
            "create_credential",
            "create_project",
            "create_tag",
            "create_workflow"
          ]
        },
        "type": {
          "type": "string",
          "description": "Property type",
          "required_for": [
            "create_credential"
          ]
        },
        "data": {
          "type": "object",
          "description": "Credential data (object). Required when creating or changing credential type.",
          "properties": {},
          "required_for": [
            "create_credential"
          ]
        },
        "isResolvable": {
          "type": "boolean",
          "description": "Property isResolvable"
        },
        "createdAt": {
          "type": "string",
          "description": "Property createdAt"
        },
        "updatedAt": {
          "type": "string",
          "description": "Property updatedAt"
        },
        "isGlobal": {
          "type": "boolean",
          "description": "Property isGlobal"
        },
        "isPartialData": {
          "type": "boolean",
          "description": "Property isPartialData"
        },
        "destinationProjectId": {
          "type": "string",
          "description": "Property destinationProjectId"
        },
        "includeData": {
          "type": "boolean",
          "description": "Whether or not to include the execution's detailed data."
        },
        "status": {
          "type": "string",
          "description": "Status to filter the executions by."
        },
        "workflowId": {
          "type": "string",
          "description": "Workflow to filter the executions by."
        },
        "projectId": {
          "type": "string",
          "description": "Parameter projectId",
          "required_for": [
            "add_project_users"
          ]
        },
        "limit": {
          "type": "number",
          "description": "The maximum number of items to return."
        },
        "cursor": {
          "type": "string",
          "description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
        },
        "loadWorkflow": {
          "type": "boolean",
          "description": "Property loadWorkflow"
        },
        "relations": {
          "type": "array",
          "description": "Array of user relations to add: [{ userId, role }]",
          "items": {
            "type": "object",
            "properties": {
              "userId": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            }
          },
          "required_for": [
            "add_project_users"
          ]
        },
        "userId": {
          "type": "string",
          "description": "The ID of the user."
        },
        "role": {
          "type": "string",
          "description": "Property role"
        },
        "includeRole": {
          "type": "boolean",
          "description": "Whether to include the user's role or not."
        },
        "newRoleName": {
          "type": "string",
          "description": "Property newRoleName"
        },
        "users": {
          "type": "array",
          "description": "Array of users to create: [{ email, role }].",
          "items": {
            "type": "object",
            "properties": {}
          },
          "required_for": [
            "create_users"
          ]
        },
        "state": {
          "type": "string",
          "description": "Parameter state"
        },
        "key": {
          "type": "string",
          "description": "Property key",
          "required_for": [
            "create_variable"
          ]
        },
        "value": {
          "type": "string",
          "description": "Property value",
          "required_for": [
            "create_variable"
          ]
        },
        "active": {
          "type": "boolean",
          "description": "Parameter active"
        },
        "tags": {
          "type": "array",
          "description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "excludePinnedData": {
          "type": "boolean",
          "description": "Set this to avoid retrieving pinned data"
        },
        "nodes": {
          "type": "array",
          "description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
          "items": {
            "type": "object",
            "properties": {}
          },
          "required_for": [
            "create_workflow"
          ]
        },
        "connections": {
          "type": "object",
          "description": "Connections map keyed by node name, following n8n workflow schema.",
          "properties": {},
          "required_for": [
            "create_workflow"
          ]
        },
        "settings": {
          "type": "object",
          "description": "Workflow settings object (timezone, executionTimeout, etc.).",
          "properties": {},
          "required_for": [
            "create_workflow"
          ]
        },
        "staticData": {
          "type": "string",
          "description": "Property staticData"
        },
        "shared": {
          "type": "array",
          "description": "Property shared",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "activeVersion": {
          "type": "object",
          "description": "Property activeVersion",
          "properties": {}
        },
        "description": {
          "type": "string",
          "description": "Property description"
        },
        "tag_ids": {
          "type": "array",
          "description": "Tag IDs to apply to the workflow: [{ id }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "action": {
          "type": "string",
          "enum": [
            "add_project_users",
            "create_credential",
            "create_project",
            "create_tag",
            "create_users",
            "create_variable",
            "create_workflow"
          ],
          "description": "Action to perform",
          "required": true
        },
        "additionalOptions": {
          "type": "object",
          "description": "Property additionalOptions",
          "properties": {}
        },
        "credentialTypeName": {
          "type": "string",
          "description": "The credential type name that you want to get the schema for"
        },
        "force": {
          "type": "boolean",
          "description": "Property force"
        },
        "variables": {
          "type": "object",
          "description": "Property variables",
          "properties": {}
        },
        "versionId": {
          "type": "string",
          "description": "The version ID to retrieve"
        }
      }
    },
    {
      "name": "update_content",
      "description": "Update n8n resources (update only).",
      "metadata_params": [
        "action"
      ],
      "operations": {
        "update_credential": "updateCredential",
        "update_project": "put_/projects/{projectId}",
        "update_project_user_role": "patch_/projects/{projectId}/users/{userId}",
        "update_tag": "put_/tags/{id}",
        "update_user_role": "patch_/users/{id}/role",
        "update_variable": "put_/variables/{id}",
        "update_workflow": "put_/workflows/{id}",
        "update_workflow_tags": "put_/workflows/{id}/tags"
      },
      "response_fields": {
        "update_credential": [
          "id",
          "name",
          "type",
          "createdAt",
          "updatedAt"
        ],
        "update_tag": [
          "id",
          "name",
          "createdAt",
          "updatedAt"
        ],
        "update_workflow": [
          "id",
          "name",
          "active",
          "createdAt",
          "updatedAt",
          "tags(id,name)",
          "settings(timezone,executionTimeout)"
        ],
        "update_workflow_tags": [
          "id",
          "name",
          "createdAt",
          "updatedAt"
        ]
      },
      "parameters": {
        "name": {
          "type": "string",
          "description": "Property name",
          "required_for": [
            "update_project",
            "update_tag",
            "update_workflow"
          ]
        },
        "type": {
          "type": "string",
          "description": "Property type"
        },
        "data": {
          "type": "object",
          "description": "Credential data (object). Required when creating or changing credential type.",
          "properties": {}
        },
        "isResolvable": {
          "type": "boolean",
          "description": "Property isResolvable"
        },
        "createdAt": {
          "type": "string",
          "description": "Property createdAt"
        },
        "updatedAt": {
          "type": "string",
          "description": "Property updatedAt"
        },
        "isGlobal": {
          "type": "boolean",
          "description": "Property isGlobal"
        },
        "isPartialData": {
          "type": "boolean",
          "description": "Property isPartialData"
        },
        "destinationProjectId": {
          "type": "string",
          "description": "Property destinationProjectId"
        },
        "includeData": {
          "type": "boolean",
          "description": "Whether or not to include the execution's detailed data."
        },
        "status": {
          "type": "string",
          "description": "Status to filter the executions by."
        },
        "workflowId": {
          "type": "string",
          "description": "Workflow to filter the executions by."
        },
        "projectId": {
          "type": "string",
          "description": "Parameter projectId",
          "required_for": [
            "update_project",
            "update_project_user_role"
          ]
        },
        "limit": {
          "type": "number",
          "description": "The maximum number of items to return."
        },
        "cursor": {
          "type": "string",
          "description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
        },
        "loadWorkflow": {
          "type": "boolean",
          "description": "Property loadWorkflow"
        },
        "relations": {
          "type": "array",
          "description": "Array of user relations to add: [{ userId, role }]",
          "items": {
            "type": "object",
            "properties": {
              "userId": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            }
          }
        },
        "userId": {
          "type": "string",
          "description": "The ID of the user.",
          "required_for": [
            "update_project_user_role"
          ]
        },
        "role": {
          "type": "string",
          "description": "Property role",
          "required_for": [
            "update_project_user_role"
          ]
        },
        "includeRole": {
          "type": "boolean",
          "description": "Whether to include the user's role or not."
        },
        "newRoleName": {
          "type": "string",
          "description": "Property newRoleName",
          "required_for": [
            "update_user_role"
          ]
        },
        "users": {
          "type": "array",
          "description": "Array of users to create: [{ email, role }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "state": {
          "type": "string",
          "description": "Parameter state"
        },
        "key": {
          "type": "string",
          "description": "Property key",
          "required_for": [
            "update_variable"
          ]
        },
        "value": {
          "type": "string",
          "description": "Property value",
          "required_for": [
            "update_variable"
          ]
        },
        "active": {
          "type": "boolean",
          "description": "Parameter active"
        },
        "tags": {
          "type": "array",
          "description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "excludePinnedData": {
          "type": "boolean",
          "description": "Set this to avoid retrieving pinned data"
        },
        "nodes": {
          "type": "array",
          "description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
          "items": {
            "type": "object",
            "properties": {}
          },
          "required_for": [
            "update_workflow"
          ]
        },
        "connections": {
          "type": "object",
          "description": "Connections map keyed by node name, following n8n workflow schema.",
          "properties": {},
          "required_for": [
            "update_workflow"
          ]
        },
        "settings": {
          "type": "object",
          "description": "Workflow settings object (timezone, executionTimeout, etc.).",
          "properties": {},
          "required_for": [
            "update_workflow"
          ]
        },
        "staticData": {
          "type": "string",
          "description": "Property staticData"
        },
        "shared": {
          "type": "array",
          "description": "Property shared",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "activeVersion": {
          "type": "object",
          "description": "Property activeVersion",
          "properties": {}
        },
        "description": {
          "type": "string",
          "description": "Property description"
        },
        "tag_ids": {
          "type": "array",
          "description": "Tag IDs to apply to the workflow: [{ id }].",
          "items": {
            "type": "object",
            "properties": {}
          },
          "required_for": [
            "update_workflow_tags"
          ]
        },
        "action": {
          "type": "string",
          "enum": [
            "update_credential",
            "update_project",
            "update_project_user_role",
            "update_tag",
            "update_user_role",
            "update_variable",
            "update_workflow",
            "update_workflow_tags"
          ],
          "description": "Action to perform",
          "required": true
        },
        "additionalOptions": {
          "type": "object",
          "description": "Property additionalOptions",
          "properties": {}
        },
        "id": {
          "type": [
            "string",
            "number"
          ],
          "description": "Property id",
          "required_for": [
            "update_credential",
            "update_tag",
            "update_user_role",
            "update_variable",
            "update_workflow",
            "update_workflow_tags"
          ],
          "required": false
        },
        "credentialTypeName": {
          "type": "string",
          "description": "The credential type name that you want to get the schema for"
        },
        "force": {
          "type": "boolean",
          "description": "Property force"
        },
        "variables": {
          "type": "object",
          "description": "Property variables",
          "properties": {}
        },
        "versionId": {
          "type": "string",
          "description": "The version ID to retrieve"
        }
      }
    },
    {
      "name": "delete_content",
      "description": "Delete n8n resources (delete only).",
      "metadata_params": [
        "action"
      ],
      "operations": {
        "delete_credential": "deleteCredential",
        "delete_execution": "delete_/executions/{id}",
        "delete_project": "delete_/projects/{projectId}",
        "remove_project_user": "delete_/projects/{projectId}/users/{userId}",
        "delete_tag": "delete_/tags/{id}",
        "delete_user": "delete_/users/{id}",
        "delete_variable": "delete_/variables/{id}",
        "delete_workflow": "delete_/workflows/{id}"
      },
      "response_fields": {
        "delete_credential": [
          "id",
          "name",
          "type",
          "createdAt",
          "updatedAt",
          "isResolvable"
        ],
        "delete_execution": [
          "id",
          "status",
          "mode",
          "startedAt",
          "stoppedAt",
          "workflowId",
          "finished",
          "retryOf",
          "retrySuccessId"
        ],
        "delete_tag": [
          "id",
          "name",
          "createdAt",
          "updatedAt"
        ],
        "delete_workflow": [
          "id",
          "name",
          "active",
          "createdAt",
          "updatedAt",
          "tags(id,name)",
          "settings(timezone,executionTimeout)"
        ]
      },
      "parameters": {
        "name": {
          "type": "string",
          "description": "Property name"
        },
        "type": {
          "type": "string",
          "description": "Property type"
        },
        "data": {
          "type": "object",
          "description": "Credential data (object). Required when creating or changing credential type.",
          "properties": {}
        },
        "isResolvable": {
          "type": "boolean",
          "description": "Property isResolvable"
        },
        "createdAt": {
          "type": "string",
          "description": "Property createdAt"
        },
        "updatedAt": {
          "type": "string",
          "description": "Property updatedAt"
        },
        "isGlobal": {
          "type": "boolean",
          "description": "Property isGlobal"
        },
        "isPartialData": {
          "type": "boolean",
          "description": "Property isPartialData"
        },
        "destinationProjectId": {
          "type": "string",
          "description": "Property destinationProjectId"
        },
        "includeData": {
          "type": "boolean",
          "description": "Whether or not to include the execution's detailed data."
        },
        "status": {
          "type": "string",
          "description": "Status to filter the executions by."
        },
        "workflowId": {
          "type": "string",
          "description": "Workflow to filter the executions by."
        },
        "projectId": {
          "type": "string",
          "description": "Parameter projectId",
          "required_for": [
            "delete_project",
            "remove_project_user"
          ]
        },
        "limit": {
          "type": "number",
          "description": "The maximum number of items to return."
        },
        "cursor": {
          "type": "string",
          "description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
        },
        "loadWorkflow": {
          "type": "boolean",
          "description": "Property loadWorkflow"
        },
        "relations": {
          "type": "array",
          "description": "Array of user relations to add: [{ userId, role }]",
          "items": {
            "type": "object",
            "properties": {
              "userId": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            }
          }
        },
        "userId": {
          "type": "string",
          "description": "The ID of the user.",
          "required_for": [
            "remove_project_user"
          ]
        },
        "role": {
          "type": "string",
          "description": "Property role"
        },
        "includeRole": {
          "type": "boolean",
          "description": "Whether to include the user's role or not."
        },
        "newRoleName": {
          "type": "string",
          "description": "Property newRoleName"
        },
        "users": {
          "type": "array",
          "description": "Array of users to create: [{ email, role }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "state": {
          "type": "string",
          "description": "Parameter state"
        },
        "key": {
          "type": "string",
          "description": "Property key"
        },
        "value": {
          "type": "string",
          "description": "Property value"
        },
        "active": {
          "type": "boolean",
          "description": "Parameter active"
        },
        "tags": {
          "type": "array",
          "description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "excludePinnedData": {
          "type": "boolean",
          "description": "Set this to avoid retrieving pinned data"
        },
        "nodes": {
          "type": "array",
          "description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "connections": {
          "type": "object",
          "description": "Connections map keyed by node name, following n8n workflow schema.",
          "properties": {}
        },
        "settings": {
          "type": "object",
          "description": "Workflow settings object (timezone, executionTimeout, etc.).",
          "properties": {}
        },
        "staticData": {
          "type": "string",
          "description": "Property staticData"
        },
        "shared": {
          "type": "array",
          "description": "Property shared",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "activeVersion": {
          "type": "object",
          "description": "Property activeVersion",
          "properties": {}
        },
        "description": {
          "type": "string",
          "description": "Property description"
        },
        "tag_ids": {
          "type": "array",
          "description": "Tag IDs to apply to the workflow: [{ id }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "action": {
          "type": "string",
          "enum": [
            "delete_credential",
            "delete_execution",
            "delete_project",
            "delete_tag",
            "delete_user",
            "delete_variable",
            "delete_workflow",
            "remove_project_user"
          ],
          "description": "Action to perform",
          "required": true
        },
        "additionalOptions": {
          "type": "object",
          "description": "Property additionalOptions",
          "properties": {}
        },
        "id": {
          "type": [
            "string",
            "number"
          ],
          "description": "Property id",
          "required_for": [
            "delete_credential",
            "delete_execution",
            "delete_tag",
            "delete_user",
            "delete_variable",
            "delete_workflow"
          ],
          "required": false
        },
        "credentialTypeName": {
          "type": "string",
          "description": "The credential type name that you want to get the schema for"
        },
        "force": {
          "type": "boolean",
          "description": "Property force"
        },
        "variables": {
          "type": "object",
          "description": "Property variables",
          "properties": {}
        },
        "versionId": {
          "type": "string",
          "description": "The version ID to retrieve"
        }
      }
    },
    {
      "name": "run_n8n_operations",
      "description": "Execute non-CRUD n8n operations (audit, retries, transfers, activation, source control).",
      "metadata_params": [
        "action"
      ],
      "operations": {
        "generate_audit": "post_/audit",
        "transfer_credential": "put_/credentials/{id}/transfer",
        "retry_execution": "post_/executions/{id}/retry",
        "pull_source_control": "post_/source-control/pull",
        "activate_workflow": "post_/workflows/{id}/activate",
        "deactivate_workflow": "post_/workflows/{id}/deactivate",
        "transfer_workflow": "put_/workflows/{id}/transfer"
      },
      "response_fields": {
        "generate_audit": [
          "\"Credentials Risk Report\"",
          "\"Database Risk Report\"",
          "\"Nodes Risk Report\"",
          "\"Filesystem Risk Report\"",
          "\"Instance Risk Report\""
        ],
        "retry_execution": [
          "id",
          "status",
          "mode",
          "startedAt",
          "stoppedAt",
          "workflowId",
          "finished",
          "retryOf",
          "retrySuccessId"
        ],
        "pull_source_control": [
          "variables(added,changed)",
          "credentials(id,name,type)",
          "workflows(id,name)",
          "tags(tags(id,name),mappings(workflowId,tagId))"
        ],
        "activate_workflow": [
          "id",
          "name",
          "active",
          "createdAt",
          "updatedAt",
          "tags(id,name)",
          "settings(timezone,executionTimeout)"
        ],
        "deactivate_workflow": [
          "id",
          "name",
          "active",
          "createdAt",
          "updatedAt",
          "tags(id,name)",
          "settings(timezone,executionTimeout)"
        ]
      },
      "parameters": {
        "name": {
          "type": "string",
          "description": "Property name"
        },
        "type": {
          "type": "string",
          "description": "Property type"
        },
        "data": {
          "type": "object",
          "description": "Credential data (object). Required when creating or changing credential type.",
          "properties": {}
        },
        "isResolvable": {
          "type": "boolean",
          "description": "Property isResolvable"
        },
        "createdAt": {
          "type": "string",
          "description": "Property createdAt"
        },
        "updatedAt": {
          "type": "string",
          "description": "Property updatedAt"
        },
        "isGlobal": {
          "type": "boolean",
          "description": "Property isGlobal"
        },
        "isPartialData": {
          "type": "boolean",
          "description": "Property isPartialData"
        },
        "destinationProjectId": {
          "type": "string",
          "description": "Property destinationProjectId",
          "required_for": [
            "transfer_credential",
            "transfer_workflow"
          ]
        },
        "includeData": {
          "type": "boolean",
          "description": "Whether or not to include the execution's detailed data."
        },
        "status": {
          "type": "string",
          "description": "Status to filter the executions by."
        },
        "workflowId": {
          "type": "string",
          "description": "Workflow to filter the executions by."
        },
        "projectId": {
          "type": "string",
          "description": "Parameter projectId"
        },
        "limit": {
          "type": "number",
          "description": "The maximum number of items to return."
        },
        "cursor": {
          "type": "string",
          "description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
        },
        "loadWorkflow": {
          "type": "boolean",
          "description": "Property loadWorkflow"
        },
        "relations": {
          "type": "array",
          "description": "Array of user relations to add: [{ userId, role }]",
          "items": {
            "type": "object",
            "properties": {
              "userId": {
                "type": "string"
              },
              "role": {
                "type": "string"
              }
            }
          }
        },
        "userId": {
          "type": "string",
          "description": "The ID of the user."
        },
        "role": {
          "type": "string",
          "description": "Property role"
        },
        "includeRole": {
          "type": "boolean",
          "description": "Whether to include the user's role or not."
        },
        "newRoleName": {
          "type": "string",
          "description": "Property newRoleName"
        },
        "users": {
          "type": "array",
          "description": "Array of users to create: [{ email, role }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "state": {
          "type": "string",
          "description": "Parameter state"
        },
        "key": {
          "type": "string",
          "description": "Property key"
        },
        "value": {
          "type": "string",
          "description": "Property value"
        },
        "active": {
          "type": "boolean",
          "description": "Parameter active"
        },
        "tags": {
          "type": "array",
          "description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "excludePinnedData": {
          "type": "boolean",
          "description": "Set this to avoid retrieving pinned data"
        },
        "nodes": {
          "type": "array",
          "description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "connections": {
          "type": "object",
          "description": "Connections map keyed by node name, following n8n workflow schema.",
          "properties": {}
        },
        "settings": {
          "type": "object",
          "description": "Workflow settings object (timezone, executionTimeout, etc.).",
          "properties": {}
        },
        "staticData": {
          "type": "string",
          "description": "Property staticData"
        },
        "shared": {
          "type": "array",
          "description": "Property shared",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "activeVersion": {
          "type": "object",
          "description": "Property activeVersion",
          "properties": {}
        },
        "description": {
          "type": "string",
          "description": "Property description"
        },
        "tag_ids": {
          "type": "array",
          "description": "Tag IDs to apply to the workflow: [{ id }].",
          "items": {
            "type": "object",
            "properties": {}
          }
        },
        "action": {
          "type": "string",
          "enum": [
            "activate_workflow",
            "deactivate_workflow",
            "generate_audit",
            "pull_source_control",
            "retry_execution",
            "transfer_credential",
            "transfer_workflow"
          ],
          "description": "Action to perform",
          "required": true
        },
        "additionalOptions": {
          "type": "object",
          "description": "Property additionalOptions",
          "properties": {}
        },
        "id": {
          "type": [
            "string",
            "number"
          ],
          "description": "Property id",
          "required_for": [
            "transfer_credential",
            "retry_execution",
            "activate_workflow",
            "deactivate_workflow",
            "transfer_workflow"
          ],
          "required": false
        },
        "credentialTypeName": {
          "type": "string",
          "description": "The credential type name that you want to get the schema for"
        },
        "force": {
          "type": "boolean",
          "description": "Property force"
        },
        "variables": {
          "type": "object",
          "description": "Property variables",
          "properties": {}
        },
        "versionId": {
          "type": "string",
          "description": "The version ID to retrieve"
        }
      }
    }
  ],
  "interceptors": {
    "auth": {
      "type": "custom-header",
      "header_name": "X-N8N-API-KEY",
      "value_from_env": "N8N_TOKEN"
    },
    "base_url": {
      "value_from_env": "N8N_API_BASE_URL",
      "default": "http://localhost:5678/api/v1"
    }
  }
}
