create_saved_formula
Save a reusable formula: an expression plus its own metrics (letters A, B, … are those metrics, in order). Run it first as a self-contained formula metric in run_insight_query. Check list_saved_formulas so you don't duplicate one. Saved when this runs; explain it in reason. Load the insight-queries skill (load_skill("insight-queries")) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| reason | Yes | Why you are making this change, in one sentence the user will read on the approval card. | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| definition | Yes | ||
| 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. |