Set project variables
nerdit_set_variableSet variables on an existing project by immutable ID; returns names only. Values enter the agent transcript even with secret=true. For credentials ask the human to run nerdit vars set --secret --prompt KEY instead. Local ownership applies; running services pick up values on their next restart or redeploy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | No | Omit or true for write-only storage; false stores plain values. | |
| values | Yes | KEY to value pairs. Values enter the transcript: never send credentials. | |
| service | No | Service scope; omit for variables shared by the project's services. | |
| project_id | Yes | Immutable project ID from nerdit_list_projects; never its name or slug. | |
| idempotency_key | No | Reuse this key when retrying the same write; omitted keys are minted. |