laya_run_goal
Pursue a natural-language goal on a page using the local Laya engine, returning a transcript, snapshot, and verification. If weights are missing, directs to Assist-mode tools.
Instructions
Autopilot: pursue a natural-language goal on the current (or given) page using the local Laya decision engine. Returns a step-by-step transcript, the final snapshot, and an independent final-page verification. If model weights are absent, returns a message directing you to the Assist-mode tools.
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": {
"goal": "<goal>"
},
"name": "laya_run_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL to navigate to before starting the run. | |
| goal | Yes | The natural-language goal to accomplish on the page. | |
| maxSteps | No | Maximum decision steps before giving up. Defaults to 15. |