Skip to content

Home > intention-kernel > ModelRequest

ModelRequest interface ​

Provider-neutral structured model request.

Signature:

typescript
export interface ModelRequest<T>

Properties ​

Property

Modifiers

Type

Description

capabilities

readonly

readonly ModelCapability[]

Capabilities visible to this model task.

input

readonly

unknown

Immutable task-specific projection derived from canonical context.

model?

readonly

string

(Optional) Optional provider model name or host-defined alias.

outputSchema

readonly

RuntimeSchema<T>

Runtime validator for the expected structured result.

prompt?

readonly

ModelPromptReference

(Optional) Identified instruction contract; optional for host adapter compatibility.

signal

readonly

AbortSignal

Cancellation and timeout signal that adapters must honor.

system

readonly

string

Complete task instruction owned by the kernel.

task

readonly

string

Stable semantic task such as turn.interpret or response.compose.