browserUse.codeAgent.execute

View as Markdown

browserUse.codeAgent.execute is a browser runtime capability in the browserUse.codeAgent namespace.

Availability

  • Runtime: browser
  • Kind: agent
  • Category: agents
  • Supported drivers: browser-use

SDK Surface

  • SDK path: runtime.browserUse.codeAgent.execute
  • Async: Yes

HTTP Surface

  • Transport: workspace.execute(...)
  • Call: browserUse.codeAgent.execute
  • Long-running: Yes

Reference Semantics

  • Requires refs: page

Arguments

ArgumentTypeRequiredDescription
instructionstringYesCoding-oriented browser-use task.
configobjectNoAgent execution settings.

Result

  • Type: operation | result
  • Description: Immediate result or long-running operation metadata.

SDK Example

1await runtime.browserUse.codeAgent.execute('Export the latest invoices');

HTTP Example

1{
2 "runtime": "crm",
3 "steps": [
4 {
5 "call": "browserUse.codeAgent.execute",
6 "args": [
7 "Export the latest invoices"
8 ]
9 }
10 ]
11}

Notes

  • This call may return an operation handle when the work runs asynchronously.