@n8n/n8n-nodes-langchain
Version:
30 lines (25 loc) • 717 B
text/typescript
/**
* Anthropic Node - Version 1
* Discriminator: resource=file, operation=get
*/
interface Credentials {
anthropicApi: CredentialReference;
}
/** Get metadata for a file from the Anthropic API */
export type LcAnthropicV1FileGetParams = {
resource: 'file';
operation: 'get';
/**
* ID of the file to get metadata for
*/
fileId?: string | Expression<string>;
};
export interface LcAnthropicV1FileGetSubnodeConfig {
tools?: ToolInstance[];
}
export type LcAnthropicV1FileGetNode = {
type: '@n8n/n8n-nodes-langchain.anthropic';
version: 1;
isTrigger: true;
config: NodeConfig<LcAnthropicV1FileGetParams> & { credentials?: Credentials } & { subnodes?: LcAnthropicV1FileGetSubnodeConfig };
};