Just tried it in an existing coding agent and it rejected the requests because computer tools weren't defined.
See this section: https://googledevai.devsite.corp.google.com/gemini-api/docs/...
And the repo has a sample setup for using the default computer use tool: https://github.com/google/computer-use-preview