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

> get_target: Get target tasks based on the decision value.

# get\_target

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

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

Get target tasks based on the decision value.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_target(context: Dict[str, Any]) -> List[str]
```

## Parameters

<ParamField query="context" type="Dict" required={true}>
  Dictionary containing the decision key.
</ParamField>

### Returns

<ResponseField name="Returns" type="List[str]">
  List of target task names, or empty list if no match.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/conditions/evaluator.py#L109">
  `praisonaiagents/conditions/evaluator.py` at line 109
</Card>
