cdp_set_current_version
Roll back any CDP resource to a specific version by retrieving version N and setting it as current. Works on versioned resources like workflows, campaigns, and connectors.
Instructions
Roll back any CDP resource to a specific version. Equivalent to GET version N then PUT as current. Returns the new version number. Works on any versioned resource. The resource_path must include the ID, e.g. 'workflows/456'. Set path_style to 'none' for campaign/config/connector resources.
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": {
"resource_path": "<resource_path>",
"version": "<version>"
},
"name": "cdp_set_current_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | ||
| version | Yes | ||
| tenant_id | No | ||
| path_style | No | v2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |