> ## 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 Target • Rust AI Agent SDK

> get_target: Get the target tasks/steps based on condition evaluation. # Arguments * `context` - Dictionary containing variables for evaluation. # Returns List of...

# get\_target

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

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

Get the target tasks/steps based on condition evaluation. # Arguments \* `context` - Dictionary containing variables for evaluation. # Returns List of target task/step names to route to. Returns empty list if no match found.

## Signature

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

## Parameters

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

<ParamField query="serde_json" type=":Value>" required={true}>
  No description available.
</ParamField>

### Returns

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