@n8n/n8n-nodes-langchain
Version:

25 lines (20 loc) • 741 B
text/typescript
/**
* Think Tool Node - Version 1.1
* Invite the AI agent to do some thinking
*/
export interface LcToolThinkV11Params {
/**
* The thinking tool's description
* @default Use the tool to think about something. It will not obtain new information or change the database, but just append the thought to the log. Use it when complex reasoning or some cache memory is needed.
*/
description?: string | Expression<string> | PlaceholderValue;
}
interface LcToolThinkV11NodeBase {
type: '@n8n/n8n-nodes-langchain.toolThink';
version: 1.1;
isTrigger: true;
}
export type LcToolThinkV11ParamsNode = LcToolThinkV11NodeBase & {
config: NodeConfig<LcToolThinkV11Params>;
};
export type LcToolThinkV11Node = LcToolThinkV11ParamsNode;