> ## 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.

# Substitute Variables • Rust AI Agent SDK

> substitute_variables: Substitute variables in description

# substitute\_variables

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

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

Substitute variables in description

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def substitute_variables(&self, context: &HashMap<String, String>) -> String
```

## Parameters

<ParamField query="context" type="&HashMap<String" required={true}>
  No description available.
</ParamField>

### Returns

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