> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# get • Rust AI Agent SDK

> get: Get a variable

# get

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**WorkflowContext**](../classes/WorkflowContext) class in the [**workflows**](../modules/workflows) module.

Get a variable

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get(&self, key: &str) -> Option<&String>
```

## Parameters

<ParamField query="key" type="&str" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Option<&String>">
  The result of the operation.
</ResponseField>
