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

# success • Rust AI Agent SDK

> success: Create a successful result

# success

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

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

Create a successful result

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def success(name: impl Into<String>, value: Value) -> Self
```

## Parameters

<ParamField query="name" type="impl Into<String>" required={true}>
  No description available.
</ParamField>

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

### Returns

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