update_saved_formula
Rename a saved formula, change its description, or replace its definition (expression and its own metrics). Every saved query linked to it shows the new version immediately — read it with list_saved_formulas (formulaId) first and tell the user how many queries change. Applied when this runs; explain it in reason. Load the insight-queries skill (load_skill("insight-queries")) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| reason | Yes | Why you are making this change, in one sentence the user will read on the approval card. | |
| formulaId | Yes | The saved formula's id (from list_saved_formulas). | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| definition | No | ||
| description | No | ||
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. |