pub type McpExecuteSamplingResult = HashMap<String, Value>;Expand description
MCP CreateMessageResult payload (with optional ‘tools’ extension), present when action=‘success’. Treated as opaque at the schema layer; consumers should construct/consume it per the MCP CreateMessageResult shape.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Aliased Type§
pub struct McpExecuteSamplingResult { /* private fields */ }