text • Rust AI Agent SDK

text: Create a simple text response

text

Method

</div>

This is a method of the BotResponse class in the protocols module.

Create a simple text response

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.