# get_slash_commands

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/command_registry/get_slash_commands)

Return autocomplete entries for slash commands.

## Signature

```python
get_slash_commands() -> list[CommandEntry]
```

## Returns

`list[CommandEntry]`

Autocomplete entries derived from `COMMANDS`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2069079e09546060f5b52b2cd4f0e3c813e820f3/libs/code/deepagents_code/command_registry.py#L494)