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"
| "message"
| "analyze"
| "generate"
| "improve"
| "templatize";
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"
| "text"
| "image"
| "document"
| "prompt";
returnAll?: boolean;
simplify?: boolean;
task?: string;
text?: string;
}
Properties§
readonly add Attachments?: boolean
readonly attachments Input Type?: "url" | "binary"
The type of input to use for the attachments Default: "url"
readonly attachments Urls?: string
URL(s) of the file(s) to attach, multiple URLs can be added separated by comma
readonly binary Property Name?: string
Name of the binary field(s) which contains the document(s), seperate multiple field names with commas Default: "data"
readonly document Urls?: string
URL(s) of the document(s) to analyze, multiple URLs can be added separated by comma
readonly file Id?: string
ID of the file to delete
readonly file Url?: string
URL of the file to upload
readonly image Urls?: string
URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma
readonly input Type?: "url" | "binary"
Default: "url"
readonly limit?: number
Max 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"
| "message"
| "analyze"
| "generate"
| "improve"
| "templatize"
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" | "text" | "image" | "document" | "prompt"
Default: "text"
readonly return All?: boolean
Whether to return all results or only up to a given limit
readonly simplify?: boolean
Whether to simplify the response or not Default: true
readonly task?: string
Description of the prompt's purpose Type options: {"rows":2}
readonly text?: string
Default: "What's in this document?" Type options: {"rows":2}
Whether to add attachments to the message