Anthropic
Node: anthropic · Full type: @n8n/n8n-nodes-langchain.anthropic · Version: 1
Credentials
anthropicApi (alias: @anthropic)
CREDENTIAL @anthropic = anthropicApi "My Anthropic"
Operations
Resource: document
analyze
| Parameter |
Type |
Default |
Details |
modelId |
resourceLocator |
{...} |
required; modes: list, id |
text |
string |
"What's in this document?" |
|
inputType |
options |
"url" |
url, binary |
documentUrls |
string |
"" |
|
binaryPropertyName |
string |
"data" |
|
simplify |
boolean |
true |
|
options |
collection |
{} |
keys: maxTokens |
Resource: file
upload
| Parameter |
Type |
Default |
Details |
inputType |
options |
"url" |
url, binary |
fileUrl |
string |
"" |
|
binaryPropertyName |
string |
"data" |
|
options |
collection |
{} |
keys: fileName |
get
| Parameter |
Type |
Default |
Details |
fileId |
string |
"" |
|
list
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
50 |
|
deleteFile
| Parameter |
Type |
Default |
Details |
fileId |
string |
"" |
|
Resource: image
analyze
| Parameter |
Type |
Default |
Details |
modelId |
resourceLocator |
{...} |
required; modes: list, id |
text |
string |
"What's in this image?" |
|
inputType |
options |
"url" |
url, binary |
imageUrls |
string |
"" |
|
binaryPropertyName |
string |
"data" |
|
simplify |
boolean |
true |
|
options |
collection |
{} |
keys: maxTokens |
Resource: prompt
generate
| Parameter |
Type |
Default |
Details |
task |
string |
"" |
|
simplify |
boolean |
true |
|
improve
| Parameter |
Type |
Default |
Details |
messages |
fixedCollection |
{...} |
groups: values |
simplify |
boolean |
true |
|
options |
collection |
{} |
keys: system, feedback |
templatize
| Parameter |
Type |
Default |
Details |
messages |
fixedCollection |
{...} |
groups: values |
simplify |
boolean |
true |
|
options |
collection |
{} |
keys: system |
Resource: text
message
| Parameter |
Type |
Default |
Details |
modelId |
resourceLocator |
{...} |
required; modes: list, id |
messages |
fixedCollection |
{...} |
groups: values |
addAttachments |
boolean |
false |
|
attachmentsInputType |
options |
"url" |
url, binary |
attachmentsUrls |
string |
"" |
|
binaryPropertyName |
string |
"data" |
|
simplify |
boolean |
true |
|
options |
collection |
{} |
keys: includeMergedResponse, system, codeExecution, webSearch, maxUses, allowedDomains, ... |
Parameter Details
options children:
| Parameter |
Type |
Default |
Details |
maxTokens |
number |
1024 |
|
messages children:
values group:
| Parameter |
Type |
Default |
Details |
content |
string |
"" |
|
role |
options |
"user" |
user, assistant |
Example
NODE "anthropic" @anthropic AS "Anthropic" {
resource: "document",
operation: "get"
}