Update targeting
update_targetingReplaces a flag's targeting in one environment. Read it with get_flag first and pass its version as baseVersion so you never overwrite someone else's change. Rules are checked top to bottom; the first match wins.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "<key>",
"environment": "<environment>",
"targeting": "<targeting>",
"baseVersion": "<baseVersion>"
},
"name": "update_targeting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| reason | No | ||
| targeting | Yes | ||
| baseVersion | Yes | ||
| environment | Yes | ||
| watchPlanId | No | A Release Watch plan from suggest_watch_plan: it starts watching when this change is applied |