interface ToolWorkflowV1NodeParameters {
description?: string;
fields?: {
values: {
arrayValue?: string;
booleanValue?: "true" | "false";
name?: string;
numberValue?: string;
objectValue?: string;
stringValue?: string;
type?:
| "stringValue"
| "numberValue"
| "booleanValue"
| "arrayValue"
| "objectValue";
}[];
};
inputSchema?: string;
jsonSchemaExample?: string;
name?: string;
responsePropertyName?: string;
schemaType?: "manual"
| "fromJson";
source?: "database" | "parameter";
specifyInputSchema?: boolean;
workflowId?: string;
workflowJson?: string;
}
Properties§
Source§readonly fields?: {
values: {
arrayValue?: string;
booleanValue?: "true" | "false";
name?: string;
numberValue?: string;
objectValue?: string;
stringValue?: string;
type?:
| "stringValue"
| "numberValue"
| "booleanValue"
| "arrayValue"
| "objectValue";
}[];
}
readonly fields?: {
values: {
arrayValue?: string;
booleanValue?: "true" | "false";
name?: string;
numberValue?: string;
objectValue?: string;
stringValue?: string;
type?:
| "stringValue"
| "numberValue"
| "booleanValue"
| "arrayValue"
| "objectValue";
}[];
}
These will be output by the 'execute workflow' trigger of the workflow being called Default: {} Type options: {"multipleValues":true,"sortable":true}
Source§readonly input Schema?: string
readonly input Schema?: string
Schema to use for the function Default: "{\n"type": "object",\n"properties": {\n\t"some_input": {\n\t\t"type": "string",\n\t\t"description": "Some input to the function"\n\t\t}\n\t}\n}" Type options: {"rows":10}
Source§readonly json Schema Example?: string
readonly json Schema Example?: string
Example JSON object to use to generate the schema Default: "{\n\t"some_input": "some_value"\n}" Type options: {"rows":10}
Source§readonly response Property Name?: string
readonly response Property Name?: string
Where to find the data that this tool should return. n8n will look in the output of the last-executed node of the workflow for a field with this name, and return its value. Default: "response"
Source§readonly schema Type?: "manual" | "fromJson"
readonly schema Type?: "manual" | "fromJson"
How to specify the schema for the function Default: "fromJson"
Source§readonly source?: "database" | "parameter"
readonly source?: "database" | "parameter"
Where to get the workflow to execute from Default: "database"
Type options: {"rows":3}