image • Rust AI Agent SDK

image: Create image content

image

Method

</div>

This is a method of the MCPContent class in the mcp module.

Create image content

Signature

python
def image(data: impl Into<String>, mime_type: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation