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§
readonly add Attachments?: booleanreadonly attachments Input Type?: "url" | "binary"The type of input to use for the attachments Default: "url"
readonly attachments Urls?: stringURL(s) of the file(s) to attach, multiple URLs can be added separated by comma
readonly binary Property Name?: stringName of the binary field(s) which contains the document(s), seperate multiple field names with commas Default: "data"
readonly document Urls?: stringURL(s) of the document(s) to analyze, multiple URLs can be added separated by comma
readonly file Id?: stringID of the file to delete
readonly file Url?: stringURL of the file to upload
readonly image Urls?: stringURL(s) of the image(s) to analyze, multiple URLs can be added separated by comma
readonly input Type?: "url" | "binary"Default: "url"
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}
readonly messages?: { ... }Messages that constitute the prompt to be improved Default: {"values":[{"content":"","role":"user"}]} Type options: {"sortable":true,"multipleValues":true}
readonly model Id?: { ... }Default: {"mode":"list","value":""}
readonly operation?:
| "get"
| "list"
| "deleteFile"
| "upload"
| "analyze"
| "generate"
| "improve"
| "templatize"
| "message"Default: "analyze"
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: {}
readonly resource?: "file" | "document" | "image" | "prompt" | "text"Default: "text"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly simplify?: booleanWhether to simplify the response or not Default: true
readonly task?: stringDescription of the prompt's purpose Type options: {"rows":2}
readonly text?: stringDefault: "What's in this document?" Type options: {"rows":2}
Whether to add attachments to the message