Are you an LLM? You can read better optimized documentation at /crush/configuration/permissions.md for this page in Markdown format
Permissions
By default, Crush will ask you for permission before running tool calls.
Allowing Tools
If you'd like, you can allow tools to be executed without prompting you for permissions. Use this with care.
bash
permissions allow view ls grep edit mcp_context7_get-library-docDisabling Built-In Tools
You can also deny tools, hiding then from the agent entirely:
bash
permissions deny bash sourcegraphTo disable tools from MCP servers, see the MCP config.
You only live once
You can also skip all permission prompts completely by running Crush with the --yolo flag. Be very, very careful with this feature.
Command Reference
permissions configures tool permissions. allow skips approval prompts; deny hides tools from the agent entirely.
text
Usage:
permissions [command]
Available Commands:
allow Allow tools without prompting
deny Hide tools from the agentpermissions allow
Allow one or more tools to run without prompting.
text
Usage:
permissions allow <tool> [<tool> ...]permissions deny
Hide one or more tools from the agent so they cannot be called.
text
Usage:
permissions deny <tool> [<tool> ...]bash
permissions allow view ls grep edit
permissions deny bash