Skip to content

PromptScript API


Interface: InlineUseDeclaration

Defined in: core/src/types/ast.ts:178

Inline

Use

declaration within a skill block body. Same syntax as top-level UseDeclaration but appears inside block content.

Properties

alias?

optional alias?: string

Defined in: core/src/types/ast.ts:185

Alias for the phase


loc

loc: SourceLocation

Defined in: core/src/types/ast.ts:187

Source location


params?

optional params?: ParamArgument[]

Defined in: core/src/types/ast.ts:183

Template parameters


path

path: PathReference

Defined in: core/src/types/ast.ts:181

Path to the sub-skill file


type

readonly type: "InlineUseDeclaration"

Defined in: core/src/types/ast.ts:179