Skip to main content

Interface: FolderAccessEntry

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

Config for a single folder access entry

Properties

canCreate?

optional canCreate: boolean

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

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


canList?

optional canList: boolean

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

Allow listing folder contents (default: true)


canRead?

optional canRead: boolean

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

Allow reading file contents (default: true)


canSearch?

optional canSearch: boolean

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

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


folderId

folderId: number

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

ID of the folder to provide access to


hint?

optional hint: string

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

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