# save_theme_preference

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/app/save_theme_preference)

Persist theme preference to `~/.deepagents/config.toml`.

## Signature

```python
save_theme_preference(
    name: str,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `name` | `str` | Yes | Textual theme name to save. |

## Returns

`bool`

`True` if the preference was saved, `False` if any error occurred.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/1ae053f347679e58562d2b81eb6d6e6e9bbf0b07/libs/cli/deepagents_cli/app.py#L187)