Skip to content

DebugRequestExtras

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/core/debugCapture.d.ts:11

The non-message parts of a wrapModelCall request that also shape a turn: the tool definitions, the system prompt, and the model params. Captured alongside the message history so the /debug panel can show the full picture of what was sent to the model.

SECURITY: these are assembled from an explicit allowlist at the capture site (see extractDebugRequestExtras); the raw model instance (which can carry an apiKey) is never passed through here.

optional modelParams?: Record<string, unknown>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/core/debugCapture.d.ts:17

Scalar model params (model id, temperature, …) — a key-free allowlist.


optional systemPrompt?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/core/debugCapture.d.ts:13

The composed system prompt string sent to the model for this call.


optional toolChoice?: unknown

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/core/debugCapture.d.ts:19

The tool-choice configuration for this call, if any.


optional tools?: DebugToolDef[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/core/debugCapture.d.ts:15

The tool definitions made available for this call (name + description + JSON schema).