{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an existing environment variable and all of its values. Existing values will be replaced by values provided.","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Scope response to account_id","type":"string"},"key":{"description":"The existing environment variable key name (case-sensitive)","type":"string"}},"required":["account_id","key"],"additionalProperties":false},"query":{"type":"object","properties":{"site_id":{"description":"If provided, update an environment variable set on this site","type":"string"}},"required":[],"additionalProperties":false},"body":{"type":"object","properties":{"key":{"type":"string","description":"The existing or new name of the key, if you wish to rename it (case-sensitive)"},"scopes":{"description":"The scopes that this environment variable is set to (Pro plans and above)","type":"array","items":{"type":"string","enum":["builds","functions","runtime","post-processing"]}},"values":{"type":"array","items":{"$ref":"#/definitions/envVarValue"}},"is_secret":{"type":"boolean","description":"Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret."}}}},"required":["path"],"additionalProperties":false,"definitions":{"envVarValue":{"type":"object","properties":{"id":{"type":"string","description":"The environment variable value's universally unique ID"},"value":{"type":"string","description":"The environment variable's unencrypted value"},"context":{"type":"string","enum":["all","dev","dev-server","branch-deploy","deploy-preview","production","branch"],"description":"The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."},"context_parameter":{"type":"string","description":"An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."}},"description":"Environment variable value model definition"}}},"name":"Update an environment variable","id":"netlify.updateenvvar","example":{"path":{"account_id":"example","key":"example"}},"maxRequests":1,"summary":false}}