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

# Last Result • Rust AI Agent SDK

> last_result: Get the last result

# last\_result

<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 the last result

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def last_result(&self) -> Option<&StepResult>
```

### Returns

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