Skip to content

Documentation / @agentick/mcp / SamplingResult

Interface: SamplingResult

Defined in: protocol/types.ts:668

Properties

content

content: SamplingContentBlock | SamplingContentBlock[]

Defined in: protocol/types.ts:670


model

model: string

Defined in: protocol/types.ts:671


role

role: "assistant"

Defined in: protocol/types.ts:669


stopReason?

optional stopReason: string

Defined in: protocol/types.ts:677

2025-11-25 names endTurn and toolUse explicitly; older spec revisions also used maxTokens and stopSequence. Treat as an open string for tolerance.

Released under the ISC License.