Skip to main content

Arguments

Output

The run’s job, with the tool’s result in result once it succeeds. A job still running carries next, the call that follows it.
  • It changes nothing on the website, so several calls can run at once.
  • Pass the tool’s id from find_website_tool as tool_id. A tool whose effect is write is refused with tool_not_read_only; run it with run_website_tool.
  • It waits up to 50 seconds (5 minutes when your client accepts SSE). If the job asks a question or is still running, follow it with get_job instead of calling again.
  • A tool that signs in uses the site’s saved login; login_id picks one when there are several. With none saved, the job asks the user on its answer page.
  • When a job needs a login, a code or an approval, give the user its answer_url. Never ask for a password in chat.
  • Status needs_input with error credentials_rejected means the website rejected the saved login. The job waits up to 60 minutes for the user to correct it on the page its next names, then resumes. Don’t resubmit it.
Effect: Reads only; changes nothing.