mutate
Create, update, or delete product plan nodes and phases, run batch and iteration actions, and classify items via one API call. Add an idempotency key to make retries safe.
Instructions
Create/update/delete plan nodes and phases. action = add|update|delete|batch|addIteration|updateIteration|deleteIteration|classify. Put the rest of the v1 mutate body in payload (node | nodeId+data | mutations | iteration). Pass idempotencyKey (a UUID) to make a retry safe — a replay returns the original result instead of double-creating.
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": {
"action": "<action>",
"payload": "<payload>"
},
"name": "mutate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| payload | Yes | rest of the mutate body, e.g. { node: {...} } or { nodeId, data } or { mutations: [...] } | |
| projectId | No | ||
| idempotencyKey | No |