Skip to content

Documentation / @agentick/mcp / SamplingResult

Interface: SamplingResult

Defined in: protocol/types.ts:686

Properties

content

content: SamplingContentBlock | SamplingContentBlock[]

Defined in: protocol/types.ts:688


model

model: string

Defined in: protocol/types.ts:689


role

role: "assistant"

Defined in: protocol/types.ts:687


stopReason?

optional stopReason: string

Defined in: protocol/types.ts:695

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.