How do I allow or block tools for one Line CLI run?
line -p "run the tests and fix failures" \
--allowed-tools "bash(npm test*),read_file,Edit(src/**)" \
--disallowed-tools "web_fetch,web_search"
--allowed-tools: rules that run without asking.--disallowed-tools: rules that are denied; a bare tool name (likebash) removes the tool entirely.
They use the same rule syntax as permissions in settings and apply to that run only.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.