Skip to content

Commit

Permalink
feat: HTTP request tool (n8n-io#9228)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-radency authored and adrian-martinez-onestic committed Jun 20, 2024
1 parent 7581d46 commit a48cdb5
Show file tree
Hide file tree
Showing 14 changed files with 2,423 additions and 144 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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';
Loading

0 comments on commit a48cdb5

Please sign in to comment.