Skip to content

craft-hub / SkillInputDefinition

Interface: SkillInputDefinition

Defined in: packages/craft-hub/src/types.ts:375

Project-owned form input that is added to an agent skill request as structured context.

Properties

default?

optional default?: string

Defined in: packages/craft-hub/src/types.ts:381


description?

optional description?: string

Defined in: packages/craft-hub/src/types.ts:379


id

id: string

Defined in: packages/craft-hub/src/types.ts:376


label?

optional label?: string

Defined in: packages/craft-hub/src/types.ts:378


options?

optional options?: CommandInputOption[]

Defined in: packages/craft-hub/src/types.ts:380


pattern?

optional pattern?: string

Defined in: packages/craft-hub/src/types.ts:385


required?

optional required?: boolean

Defined in: packages/craft-hub/src/types.ts:382


requiredWhen?

optional requiredWhen?: CommandInputConditions

Defined in: packages/craft-hub/src/types.ts:383


type

type: "text" | "select"

Defined in: packages/craft-hub/src/types.ts:377


visibleWhen?

optional visibleWhen?: CommandInputConditions

Defined in: packages/craft-hub/src/types.ts:384

Released under the MIT License.