Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/mcp / / MCPSamplingMessage
Interface: MCPSamplingMessage
Defined in: packages/mcp/src/client/types.ts:147
A message in a sampling conversation.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
content | readonly | readonly MCPSamplingContent[] | Every content block of the SDK message (MC-13) - previously only the FIRST block survived, silently dropping e.g. the image in a text+image message before it reached the operator's handler. | packages/mcp/src/client/types.ts:154 |
role | readonly | "user" | "assistant" | - | packages/mcp/src/client/types.ts:148 |