One of the following:
HostedSkillParamSkillReference { skill_id, type, version }

References a skill uploaded through the Skills API.

skill_id: string

The ID of the skill created through /v1/skills.

minLength1
maxLength64
type: "skill_reference"

The type of the object. Always skill_reference.

version?: string | null

The skill version, a positive integer or latest; omission selects the default.

minLength0
maxLength1048576
HostedSkillParamInline { description, name, source, type }

Supplies a skill ZIP directly in the session request.

description: string

The skill description declared in SKILL.md.

minLength0
maxLength1048576
name: string

The skill name declared in SKILL.md.

minLength1
maxLength64
source: InlineCapabilitySourceParam { data, media_type, type }

Provides ZIP bytes encoded with standard base64.

type: "inline"

The type of the object. Always inline.