instructions • Rust AI Agent SDK

instructions: Set the system instructions

instructions

Method

</div>

This is a method of the AgentBuilder class in the builder module.

Set the system instructions

Signature

python
def instructions(mut self, instructions: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.