Skip to main content

FileAccessEntry

@gravity-rail/sdk


@gravity-rail/sdk / FileAccessEntry

Interface: FileAccessEntry

Config for a single file access entry

Properties​

autoContinueReadAloud?​

optional autoContinueReadAloud: boolean

Keep narrating chunk-to-chunk without waiting for the listener to ask for more (default: false). Inert unless canReadAloud is also set.


canRead?​

optional canRead: boolean

Allow reading file contents (default: true)


canReadAloud?​

optional canReadAloud: boolean

Allow speaking this file verbatim to the caller on voice chats (default: false). Separate from canRead: reference material the agent consults is not a script it narrates.


canWrite?​

optional canWrite: boolean

Allow writing/editing file contents (default: false)


fileId​

fileId: number

ID of the file to provide access to


hint?​

optional hint: string

Optional hint for the LLM about when/how to use this file