worktree_env
Read-only
Resolve shared-cache environment variables for the current git worktree (cache dirs + hit-enabling flags). Use before running installs/builds in a worktree.
Instructions
Resolve shared-cache environment variables for the current git worktree (cache dirs + hit-enabling flags). Use before running installs/builds in a worktree.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | Return the raw variable map as JSON instead of shell syntax | |
| shell | No | Shell syntax for the env text (default sh) | |
| providers | No | Restrict to these build-cache providers (default: all detected) | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. |