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

# First Token • Rust AI Agent SDK

> first_token: Create a first token event

# first\_token

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

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

Create a first token event

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def first_token(content: impl Into<String>) -> Self
```

## Parameters

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

### Returns

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Token Management" icon="coins" href="/docs/rust/token-management" />

  <Card title="Rust Budget" icon="wallet" href="/docs/rust/budget" />
</CardGroup>
