ai.tool_http_request · version 1.1 · AI sub-node
Lets the model call an HTTP API.
Port Kind Label Required Max connections
output 0 ai_tool
Slot Accepted kinds Required
httpHeaderAuthhttp.header
httpQueryAuthhttp.query
httpBasicAuthhttp.basic
httpBearerAuthhttp.bearer
Name Type Default Required Shown when Description
toolDescriptionstring yes Description . Tells the model what the API does and when to call it.
methodoptions "GET"One of GET, POST, PUT, PATCH, DELETE, HEAD.
urlstring yes URL . Use {name} for values the model fills in.
authenticationoptions "none"One of none, genericCredentialType.
genericAuthTypeoptions authentication = genericCredentialType Credential Type . One of httpHeaderAuth, httpQueryAuth, httpBasicAuth, httpBearerAuth.
sendQueryboolean falseSend Query .
specifyQueryoptions "keypair"sendQuery = true Query Format . One of keypair, json, model.
parametersQueryfixed_collection sendQuery = true; specifyQuery = keypair Query Parameters .
parametersQuery.valuescollection
parametersQuery.values.namestring
parametersQuery.values.valueProvideroptions "modelRequired"Value Source . One of modelRequired, modelOptional, fieldValue.
parametersQuery.values.valuestring
jsonQueryjson sendQuery = true; specifyQuery = json Query JSON .
sendHeadersboolean falseSend Headers .
specifyHeadersoptions "keypair"sendHeaders = true Headers Format . One of keypair, json, model.
parametersHeadersfixed_collection sendHeaders = true; specifyHeaders = keypair Headers Parameters .
parametersHeaders.valuescollection
parametersHeaders.values.namestring
parametersHeaders.values.valueProvideroptions "modelRequired"Value Source . One of modelRequired, modelOptional, fieldValue.
parametersHeaders.values.valuestring
jsonHeadersjson sendHeaders = true; specifyHeaders = json Headers JSON .
sendBodyboolean falseSend Body .
specifyBodyoptions "keypair"sendBody = true Body Format . One of keypair, json, model.
parametersBodyfixed_collection sendBody = true; specifyBody = keypair Body Parameters .
parametersBody.valuescollection
parametersBody.values.namestring
parametersBody.values.valueProvideroptions "modelRequired"Value Source . One of modelRequired, modelOptional, fieldValue.
parametersBody.values.valuestring
jsonBodyjson sendBody = true; specifyBody = json Body JSON .
placeholderDefinitionsfixed_collection Placeholder Definitions .
placeholderDefinitions.valuescollection Placeholder .
placeholderDefinitions.values.namestring
placeholderDefinitions.values.descriptionstring
placeholderDefinitions.values.typeoptions "string"One of string, number, boolean, json.
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating .
Source type Version range Status Fixtures
@n8n/n8n-nodes-langchain.toolHttpRequest1unverified