bap plan
Observe the current page and get AI-suggested actions for achieving a goal. Useful for autonomous agents that need to decide what to do next.Usage
string
required
A natural language description of what you want to accomplish.
number
default:"10"
Maximum number of suggestions to return.
Output
- Description — What the action does
- Method — The BAP protocol method to call
- Relevance — How relevant the action is to the stated goal (0-100%)
bap plan analyzes the current page state and matches interactive elements against your goal. It
does not execute any actions — it only suggests them.JSON Output
With--format=json, the output includes full structured data: