createListAttachmentsTool
@forge/monorepo / backend/src / createListAttachmentsTool
Function: createListAttachmentsTool()
createListAttachmentsTool(
deps):Tool
Defined in: backend/src/files/read-tool.ts:179
The rest of the list, when the context section capped it.
The section names this tool rather than silently truncating, because a list that ends without saying so is a model concluding a file is not there.
Parameters
deps
conversationId
string
files
{ limits: UploadLimits; deleteConversationFiles: Promise<{ scheduled: number; }>; get: Promise<FileMetadata>; listForConversation: Promise<Page<FileMetadata>>; read: Promise<AsyncIterable<Uint8Array<ArrayBufferLike>, any, any>>; signedReadUrl: Promise<string | null>; sweepDeletions: Promise<{ deleted: number; failed: number; }>; upload: Promise<FileMetadata>; }