Save a project's policy
save_policySaves a new Advanced mode policy on one of the user's projects, replacing the current one. Returns the previous policy so it can be put back. Live traffic uses the new policy within about 5 minutes. Only for Advanced mode text projects. Needs owner, admin or editor access.
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": {
"project_id": "<project_id>",
"policy": "<policy>"
},
"name": "save_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | The policy in plain English, up to 1000 characters. | |
| project_id | Yes | The project's id, from list_projects. |