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

# remove • Rust AI Agent SDK

> remove: Remove item by ID.

# remove

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

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

Remove item by ID.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def remove(&mut self, id: &str) -> Option<TodoItem>
```

## Parameters

<ParamField query="id" type="&str" required={true}>
  No description available.
</ParamField>

### Returns

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