interface AnthropicNodeParameters {
addAttachments?: boolean;
attachmentsInputType?: "url" | "binary";
attachmentsUrls?: string;
binaryPropertyName?: string;
documentUrls?: string;
fileId?: string;
fileUrl?: string;
imageUrls?: string;
inputType?: "url" | "binary";
limit?: number;
messages?: {
values: {
content?: string;
role?: "user" | "assistant";
}[];
};
modelId?: { mode: "id"
| "list"; value: string };
operation?:
| "get"
| "list"
| "deleteFile"
| "upload"
| "analyze"
| "generate"
| "improve"
| "templatize"
| "message";
options?: | { maxTokens?: number }
| { fileName?: string }
| { feedback?: string; system?: string }
| { system?: string }
| {
allowedDomains?: string;
blockedDomains?: string;
codeExecution?: boolean;
includeMergedResponse?: boolean;
maxTokens?: number;
maxToolsIterations?: number;
maxUses?: number;
system?: string;
temperature?: number;
topK?: number;
topP?: number;
webSearch?: boolean;
};
resource?: | "file"
| "document"
| "image"
| "prompt"
| "text";
returnAll?: boolean;
simplify?: boolean;
task?: string;
text?: string;
}
Properties§
Source§readonly attachments Input Type?: "url" | "binary"
readonly attachments Input Type?: "url" | "binary"
The type of input to use for the attachments Default: "url"
Source§readonly attachments Urls?: string
readonly attachments Urls?: string
URL(s) of the file(s) to attach, multiple URLs can be added separated by comma
Source§readonly binary Property Name?: string
readonly binary Property Name?: string
Name of the binary field(s) which contains the document(s), seperate multiple field names with commas Default: "data"
Source§readonly document Urls?: string
readonly document Urls?: string
URL(s) of the document(s) to analyze, multiple URLs can be added separated by comma
Source§readonly image Urls?: string
readonly image Urls?: string
URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}
Source§readonly messages?: {
values: {
content?: string;
role?: "user" | "assistant";
}[];
}
readonly messages?: {
values: {
content?: string;
role?: "user" | "assistant";
}[];
}
Messages that constitute the prompt to be improved Default: {"values":[{"content":"","role":"user"}]} Type options: {"sortable":true,"multipleValues":true}
Source§readonly operation?:
| "get"
| "list"
| "deleteFile"
| "upload"
| "analyze"
| "generate"
| "improve"
| "templatize"
| "message"
readonly operation?:
| "get"
| "list"
| "deleteFile"
| "upload"
| "analyze"
| "generate"
| "improve"
| "templatize"
| "message"
Default: "analyze"
Source§readonly options?:
| { maxTokens?: number }
| { fileName?: string }
| { feedback?: string; system?: string }
| { system?: string }
| {
allowedDomains?: string;
blockedDomains?: string;
codeExecution?: boolean;
includeMergedResponse?: boolean;
maxTokens?: number;
maxToolsIterations?: number;
maxUses?: number;
system?: string;
temperature?: number;
topK?: number;
topP?: number;
webSearch?: boolean;
}
readonly options?:
| { maxTokens?: number }
| { fileName?: string }
| { feedback?: string; system?: string }
| { system?: string }
| {
allowedDomains?: string;
blockedDomains?: string;
codeExecution?: boolean;
includeMergedResponse?: boolean;
maxTokens?: number;
maxToolsIterations?: number;
maxUses?: number;
system?: string;
temperature?: number;
topK?: number;
topP?: number;
webSearch?: boolean;
}
Default: {}
Whether to add attachments to the message