Reach a goal
Describe the goal in plain words; the AI model works the page in a browser session until the goal is reached, cannot be reached, or the step limit. Can start from an address and return its findings in a given shape (JSON Schema), also as a file.
Command in the Web goal agent toolkit · id ooa.web_agent/run · 21 inputs, 8 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Goal | String | No | What to achieve, in plain words; ${...} interpolation allowed. Empty when goals lists them. | |
| Session | String | No | browser | Browser session (from Start web agent session or Open browser). |
| Maximum steps | Number | No | 15 | Most actions to take, 1 to 60. |
| Allowed sites | List | No | Host names the agent may visit (sub-domains included), e.g. ["portal.example.com"]; any site when empty. | |
| Secrets | Dictionary | No | Name to Credential, e.g. {"password": a Credential}. The model types them as {{secret:password}} and never sees the values. | |
| Instructions | String | No | Extra rules, e.g. "Never press Delete or Pay." | |
| Provider | String | No | openai | Who runs the model: OpenAI, Azure OpenAI, Anthropic, OpenAI-compatible (LiteLLM, vLLM, Ollama), Hugging Face (its router or your own TGI server), AWS SageMaker (a model on an Amazon SageMaker endpoint), AWS Bedrock or Google Vertex AI (Gemini). |
| Connection | String | No | Name of a Model Connection (provider, model and key managed in one place). Leave empty to set them on this action. | |
| Model | String | No | Model name; the deployment name for Azure OpenAI; the endpoint name for AWS SageMaker; the model or inference profile id for AWS Bedrock. | |
| API key | Credential | No | API key or access token from the vault (not needed for some self-hosted endpoints). For AWS Bedrock and AWS SageMaker: the AWS secret access key (or ACCESS_KEY_ID:SECRET). For Google Vertex AI: a service-account JSON key or an access token. | |
| Endpoint address | String | No | Endpoint; required for Azure OpenAI, Vertex AI (https://REGION-aiplatform.googleapis.com/v1/projects/PROJECT/locations/REGION) and self-hosted models (for a TGI server, e.g. http://tgi-host:8080/v1). | |
| Hide personal data | Boolean | No | true | Replace emails, phone and card numbers, IBANs and similar before sending; restored in the answer. |
| AWS access key ID | Credential | No | AWS Bedrock and AWS SageMaker only: AWS access key id from the vault (api_key then holds the secret access key). | |
| AWS region | String | No | AWS Bedrock and AWS SageMaker only: AWS region, e.g. eu-west-1. | |
| Timeout (seconds) | Number | No | 0 | Seconds to wait for the model on each step; 180 when 0. |
| Start address (URL) | String | No | Open this address before the first step; the page already open when empty. | |
| Output schema | Dictionary | No | JSON Schema the data output must match; the model is shown it and asked to correct an answer that does not match. | |
| Output path | File | No | Also write the data output to this JSON file when the goal is reached. | |
| Save trajectory to | File | No | Keep a record of the run in this JSON file: each step's action, the model's reasoning and a screenshot (saved in a folder next to it). Secrets appear only as placeholders. | |
| Goals | List | No | More goals, reached one after another in the same browser (after goal, when it is given); each gets its own result in goal_results, and a goal not reached stops the rest (G4). | |
| Time limit (seconds) | Number | No | 0 | Most time for the whole step, all goals together; no limit when 0. A goal is not started once the time is used up (G4). |
Outputs
| Output | Type | What it is |
|---|---|---|
| success | Boolean | Whether the model reports the goal reached. |
| answer | String | What was done or found. |
| data | Dictionary | Values the goal asked for, if any. |
| steps | List | Each step taken, in words. |
| url | String | Address of the page at the end. |
| input_tokens | Number | Tokens sent to the model in all steps. |
| output_tokens | Number | Tokens the model answered with in all steps. |
| goal_results | List | With several goals or a time limit: each goal with its success, answer and data (G4). |