Skip to main content

Interface: FolderAccessEntry

Defined in: packages/sdk/src/types/ability-types.ts:92

Config for a single folder access entry

Properties

canCreate?

optional canCreate: boolean

Defined in: packages/sdk/src/types/ability-types.ts:102

Allow creating new files in the folder (default: false)


canList?

optional canList: boolean

Defined in: packages/sdk/src/types/ability-types.ts:98

Allow listing folder contents (default: true)


canRead?

optional canRead: boolean

Defined in: packages/sdk/src/types/ability-types.ts:96

Allow reading file contents (default: true)


canSearch?

optional canSearch: boolean

Defined in: packages/sdk/src/types/ability-types.ts:100

Allow searching files (requires folder to be indexed, default: false)


folderId

folderId: number

Defined in: packages/sdk/src/types/ability-types.ts:94

ID of the folder to provide access to


hint?

optional hint: string

Defined in: packages/sdk/src/types/ability-types.ts:104

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