FileAccessEntry
@gravity-rail/sdk / FileAccessEntry
Interface: FileAccessEntry
Config for a single file access entry
Properties
autoContinueReadAloud?
optionalautoContinueReadAloud:boolean
Keep narrating chunk-to-chunk without waiting for the listener to ask for more (default: false). Inert unless canReadAloud is also set.
canRead?
optionalcanRead:boolean
Allow reading file contents (default: true)
canReadAloud?
optionalcanReadAloud: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?
optionalcanWrite:boolean
Allow writing/editing file contents (default: false)
fileId
fileId:
number
ID of the file to provide access to
hint?
optionalhint:string
Optional hint for the LLM about when/how to use this file