> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# fs.bookmarks

> Manage bookmarks from a mounted Mesa filesystem.

`fs.bookmarks` exposes bookmark operations that are local to a mounted filesystem session.

```python theme={null}
from mesa_sdk import repo

async with mesa.fs(
    layout={"/workspace": repo("app", mode="rw")},
    authors=[{"name": "Workspace Agent", "email": "agent@example.com"}],
).mount() as fs:
    bookmarks = await fs.bookmarks.list("app")
    await fs.bookmarks.create("app", "feature-x")
    await fs.bookmarks.move("app", "feature-x", change_id="zyxwvutsrqponmlkzyxwvutsrqponmlk")
```

## Methods

**list(repo)** `async -\> list[str]`

Return every bookmark name on a mounted repository.

**create(repo, name)** `async -\> None`

Create a bookmark at the active change's commit.

\**move(repo, name, *, change\_id, allow\_backwards=False)** `async -\> None`

Move a bookmark to a change. The move must advance history unless
`allow_backwards=True` is provided.

## Errors

`create(...)` raises `MesaBadInputError` when the bookmark already exists.
`move(...)` rejects backward or sideways moves unless `allow_backwards=True`.

> [!TIP]
>
> Use `mesa.bookmarks` for bookmark operations through the REST API, including
> moving, merging, and deleting bookmarks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.