n8n/packages/@n8n/nodes-langchain/nodes/tools/ToolHttpRequest/interfaces.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
497 B
TypeScript
Raw Normal View History

2024-06-19 00:54:13 -07:00
export type ToolParameter = {
name: string;
required: boolean;
type?: string;
description?: string;
sendIn: SendIn;
key?: string;
};
export type PlaceholderDefinition = {
name: string;
type?: string;
description: string;
};
export type ParametersValues = Array<{
name: string;
valueProvider: 'modelRequired' | 'modelOptional' | 'fieldValue';
value?: string;
}>;
export type ParameterInputType = 'keypair' | 'json' | 'model';
export type SendIn = 'body' | 'qs' | 'path' | 'headers';