AI / Claude Models Basics Interview Questions
What is computer use in Claude and which models support it?
Computer use is a set of built-in tools that allow Claude to interact directly with computers — taking screenshots, moving the mouse, clicking, typing, and running bash commands. It is designed for agentic automation tasks where Claude operates a full computer desktop or terminal environment.
| Tool | What Claude can do |
|---|---|
| computer | Take screenshots; move/click/drag mouse; type text |
| text_editor | View and edit files with string replace; undo edits |
| bash | Execute shell commands in a persistent bash session |
# Example: computer use API call (simplified)
response = client.messages.create(
model="claude-opus-4-8",
max_tokens=4096,
tools=[
{"type": "computer_20250728", "name": "computer", "display_width_px": 1024, "display_height_px": 768},
{"type": "text_editor_20250728", "name": "str_replace_based_edit_tool"},
{"type": "bash_20250728", "name": "bash"}
],
messages=[{"role": "user", "content": "Open the browser and search for Anthropic."}]
)Model support for computer use: all current Claude models support computer use. The tool versions have been updated — use computer_20250728, text_editor_20250728, and bash_20250728 for Claude Opus 4.7 and later. Earlier tool versions remain supported for older models.
Computer use is in beta — Anthropic recommends using it in sandboxed environments with human oversight, as it can execute arbitrary commands on a system.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
