oc_normalize_action
Validate and normalize browser action payloads to correct aliases like left_click or missing button, without executing any action.
Instructions
Validate and normalize a near-valid browser/computer action payload without executing it. Use this before calling real action tools when a host model produced aliases such as left_click, hotkey, coordinate, or missing click button. This tool is side-effect-free: it does not touch Chrome, CDP, tabs, DOM, cookies, storage, or files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "oc_normalize_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | REQUIRED Candidate action object to validate and normalize. The action is never executed. | |
| strict | No | When true (default), missing required fields and unsupported action types make ok=false. | |
| targetTool | No | Optional target tool context. Currently advisory only; normalization remains side-effect-free. | |
| redactNormalized | No | When true, caller-provided string payload values in normalized output are replaced with '[REDACTED]'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| errors | Yes | ||
| safety | Yes | ||
| changed | Yes | ||
| warnings | Yes | ||
| normalized | No |