Interface MessageAnAgentV2NodeParameters

Source

interface MessageAnAgentV2NodeParameters {
    advanced?: {
        allowOtherNodesData?: boolean;
        invokeMode?: "allItems" | "perItem";
        sessionId?: string;
    };
    agentId?: unknown;
    jsonSchemaExample?: string;
    message?: string;
    outputSchema?: string;
    schemaType?: "manual"
    | "fromJson";
    useStructuredOutput?: boolean;
}

Properties§

§readonly advanced?: { ... }

Default: {}

§readonly agentId?: unknown

The agent to send the message to Default: {"__rl":true,"mode":"list","value":""}

§readonly jsonSchemaExample?: string

Example JSON object used to generate the output schema Default: "{\n "result": "The result of the task"\n}" Type options: {"rows":10}

§readonly message?: string

The message to send to the agent Type options: {"rows":4}

§readonly outputSchema?: string

The JSON Schema that the agent response must conform to Default: "{\n "type": "object",\n "properties": {\n "result": {\n "type": "string",\n "description": "The result of the task"\n }\n },\n "required": ["result"]\n}" Type options: {"rows":10}

§readonly schemaType?: "manual" | "fromJson"

How to specify the structured output schema Default: "fromJson"

§readonly useStructuredOutput?: boolean

Whether to constrain the agent response to a JSON Schema you provide. The conforming object is returned on the "structuredOutput" field.