Skip to main content

Interactive Commands

Slash commands available during an active chat session.

CLI vs Interactive

This page covers in-session slash commands (like /model, /mcp). For terminal commands like dexto install or dexto setup, see CLI Overview.

Start an interactive session with dexto (Web UI) or dexto --mode cli (terminal).

General

CommandAliasesDescription
/help/h, /?Show all commands
/exit/quit, /qExit the CLI
/newStart new conversation
/clear/resetClear context (keeps session)
/compact/summarizeCompress older messages
/context/ctx, /tokensShow token usage
/copy/cpCopy last response
/shortcuts/keysShow keyboard shortcuts
!<cmd>/shellRun shell command

Sessions

CommandDescription
/resumeBrowse and resume sessions
/renameRename current session
/search <query>Search across sessions
/session listList all sessions
/session historyShow current session history
/session delete <id>Delete a session

Configuration

CommandDescription
/modelChange LLM model
/model listList available models
/model currentShow current model
/configShow configuration
/config reloadReload config from file
/syspromptShow system prompt
/log [level]Set log level (debug/info/warn/error)
/statsShow statistics

MCP & Tools

CommandDescription
/mcpList MCP servers
/mcp listList connected servers
/mcp add stdio <name> <cmd>Add stdio MCP server
/mcp add http <name> <url>Add HTTP MCP server
/mcp add sse <name> <url>Add SSE MCP server
/mcp remove <name>Remove MCP server
/toolsBrowse available tools
/tools listList all tools
/tools search <query>Search for tools

Prompts

CommandDescription
/promptsList all prompts
/use <prompt> [args]Execute a prompt
/<prompt-name>Execute prompt directly
/docsOpen documentation

Keyboard Shortcuts

ShortcutAction
Ctrl+CClear input / cancel
EscapeClose overlay
/ Navigate history
TabAutocomplete
Shift+EnterMulti-line input

Examples

Managing Sessions

# List all sessions
/session list

# Resume a previous session
/resume

# Search for something you discussed
/search "database migration"

# Rename current session
/rename my-project-refactor

Working with Models

# See current model
/model current

# List available models
/model list

# Switch to a different model
/model switch gpt-5

Using MCP Tools

# See all available tools
/tools list

# Search for specific tools
/tools search "file"

# List connected MCP servers
/mcp list

Debugging

# Check token usage
/context

# View system prompt
/sysprompt

# Enable debug logging
/log debug

# Show system stats
/stats