Find paths between positions
bjj_find_pathsFinds shortest routes between Brazilian Jiu-Jitsu positions or to a submission using successful technique outcomes, listing techniques for each step so you can plan transitions.
Instructions
Finds a few shortest routes from one position to another using only successful technique outcomes (e.g. Half Guard bottom → Back Control top). Each step lists the techniques that achieve it. The target may also be a submission (e.g. "Armbar"): routes then end at a position where it can be attempted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Goal position (e.g. "Back Control/Top") or a submission name. | |
| from | Yes | Start position, e.g. "Half Guard" or "Half Guard/Bottom". | |
| ruleset | No | Ruleset for probabilities (default gi). | |
| to_role | No | Your role at the goal (default: as in name, else both; top = you control). | |
| from_role | No | Your role at the start (default: as in name, else both). | |
| max_paths | No | How many routes (default 3). | |
| max_steps | No | Max steps per route (default 5). | |
| techniques_per_step | No | Techniques listed per step (default 3). |