cortex_run
Executes batched Chromium browser actions and assertions, supporting targeted reads, CSS/ref selection, expansion, extraction, and recovery from stale or ambiguous targets.
Instructions
Azioni/assert e piani each/expand/extract. Target: ref:s1-e1 o s1-e1; CSS; role:button|Nome, label:Nome. each/extract solo CSS; each limit max 50; fields maxLength 1..500. 25 step/200 azioni/60s. StaleRef/AmbiguousTarget: step non eseguito, max 5 candidati correnti; scegli il controllo e riprendi dallo step fallito senza ripetere quelli completati.
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": {
"steps": "<steps>"
},
"name": "cortex_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| steps | Yes | ||
| sessionId | No | ID restituito da newSession. Omettere per usare la sessione condivisa. | |
| operationId | No | ||
| observeAfter | No | ||
| project_path | No | ||
| allowDestructive | No |