Skip to content

craft-hub / SkillInputDefinition

Interface: SkillInputDefinition ​

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

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


description? ​

optional description?: string

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


id ​

id: string

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


label? ​

optional label?: string

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


options? ​

optional options?: CommandInputOption[]

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


pattern? ​

optional pattern?: string

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


required? ​

optional required?: boolean

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


requiredWhen? ​

optional requiredWhen?: CommandInputConditions

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


type ​

type: "text" | "select"

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


visibleWhen? ​

optional visibleWhen?: CommandInputConditions

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

Released under the MIT License.