text • Rust AI Agent SDK

text: Create text content

text

Method

</div>

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

Create text content

Signature

python
def text(text: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.