Skip to main content
Glama

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
NameRequiredDescriptionDefault
jsonNoReturn the raw variable map as JSON instead of shell syntax
shellNoShell syntax for the env text (default sh)
providersNoRestrict to these build-cache providers (default: all detected)
workspace_pathNoAbsolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

Score is being calculated.