# jbrootForPath

Resolve a path for the current jailbreak layout.

```js
jbrootForPath(path)
```

## Arguments

| Argument | Type | Meaning |
| --- | --- | --- |
| `path` | string | Path to resolve. |

## Returns

Resolved path string.

## Example

```js
console.log(jbrootForPath("/var/mobile/Library/ApplesauceOS/"));
```

[All JavaScript APIs](https://mcp.applesauceos.com/doc/api.md) · [Automation playbook](https://mcp.applesauceos.com/doc/ai.md)
