With Modification • Rust AI Agent SDK

with_modification: Create a result with modified output

with_modification

Method

</div>

This is a method of the GuardrailResult class in the config module.

Create a result with modified output

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.