Skip to content

craft-hub / SkillInputDefinition

Interface: SkillInputDefinition ​

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

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:469


description? ​

optional description?: string

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


id ​

id: string

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


label? ​

optional label?: string

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


options? ​

optional options?: CommandInputOption[]

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


pattern? ​

optional pattern?: string

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


required? ​

optional required?: boolean

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


requiredWhen? ​

optional requiredWhen?: CommandInputConditions

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


type ​

type: "text" | "select"

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


visibleWhen? ​

optional visibleWhen?: CommandInputConditions

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

Released under the MIT License.