Skip to content

Documentation / @agentick/mcp / SamplingResult

Interface: SamplingResult ​

Defined in: protocol/types.ts:692

Properties ​

content ​

content: SamplingContentBlock | SamplingContentBlock[]

Defined in: protocol/types.ts:694


model ​

model: string

Defined in: protocol/types.ts:695


role ​

role: "assistant"

Defined in: protocol/types.ts:693


stopReason? ​

optional stopReason: string

Defined in: protocol/types.ts:701

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.