update_funnel_query
Replace the definition of a saved funnel query (and optionally rename it). Read it with get_query first, change only what the user asked for, and pass the complete spec back without its queryType — it replaces the saved definition on every dashboard that shows the query. Run the new spec with run_funnel_query first so you know it works. Saved when this runs; explain it in reason. Load the manage-dashboards, funnel-queries skills (load_skill("manage-dashboards"), load_skill("funnel-queries")) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| spec | Yes | The complete new funnel definition. Replaces the saved one entirely — start from get_query's spec (without its queryType) and change only what the user asked for. | |
| reason | Yes | Why you are making this change, in one sentence the user will read on the approval card. | |
| queryId | Yes | The saved funnel query to change. | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| description | No | New description. Pass one when the new spec makes the saved description wrong, or when the query has none. Omit to keep the current one. | |
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. |