set • Rust AI Agent SDK

set: Set a variable

set

Method

</div>

This is a method of the WorkflowContext class in the workflows module.

Set a variable

Signature

python
def set(&mut self, key: impl Into<String>, value: impl Into<String>) -> ()

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField ()

The result of the operation.