Skip to content

Tool Http Request

Node: toolHttpRequest · Full type: @n8n/n8n-nodes-langchain.toolHttpRequest · Version: 1.1

Parameters

Parameter Type Default Details
toolDescription string ""
method options "GET" DELETE, GET, PATCH, POST, PUT
url string "" required
authentication options "none" none, predefinedCredentialType, genericCredentialType
sendQuery boolean false
specifyQuery options "keypair" keypair, json, model
parametersQuery fixedCollection {...} groups: values
jsonQuery string ""
sendHeaders boolean false
specifyHeaders options "keypair" keypair, json, model
parametersHeaders fixedCollection {...} groups: values
jsonHeaders string ""
sendBody boolean false
specifyBody options "keypair" keypair, json, model
parametersBody fixedCollection {...} groups: values
jsonBody string ""
placeholderDefinitions fixedCollection [] groups: values
optimizeResponse boolean false
responseType options "json" json, html, text
dataField string ""
fieldsToInclude options "all" all, selected, except
fields string ""
cssSelector string "body"
onlyContent boolean false
elementsToOmit string ""
truncateResponse boolean false
maxLength number 1000

parametersQuery children:

values group:

Parameter Type Default Details
name string ""
valueProvider options "modelRequired" modelRequired, modelOptional, fieldValue
value string ""

parametersHeaders children:

values group:

Parameter Type Default Details
name string ""
valueProvider options "modelRequired" modelRequired, modelOptional, fieldValue
value string ""

parametersBody children:

values group:

Parameter Type Default Details
name string ""
valueProvider options "modelRequired" modelRequired, modelOptional, fieldValue
value string ""

placeholderDefinitions children:

values group:

Parameter Type Default Details
name string ""
description string ""
type options "not specified" not specified, string, number, boolean, json

Example

NODE "toolHttpRequest" AS "Tool Http Request" {
  url: {{ $json.url }}
}