laya_choose_action
Selects one concrete action from 2–20 options based on a goal and observation without executing it; low-confidence choices can block automatic recommendation for review.
Instructions
Choose one of 2-20 concrete actions without executing. Each action has id and description. requires_review blocks automatic recommendation on missing/low confidence. For repeated decisions use sequence 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>",
"observation": "<observation>",
"actions": "<actions>"
},
"name": "laya_choose_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| model | No | auto | |
| actions | Yes | ||
| observation | Yes | ||
| min_confidence | No |