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

# Line Range • Rust AI Agent SDK

> line_range: Add a line range.

# line\_range

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

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

Add a line range.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def line_range(mut self, range: LineRange) -> Self
```

## Parameters

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

### Returns

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