Update an ICP draft
updateIcpDraftSaves a new name or definition to an ICP's unpublished draft, checked against the draft revision. The published version is unchanged until publishIcp. Repeating the call with the same input leaves the same result.
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": {
"params": "<params>",
"body": "<body>"
},
"name": "updateIcpDraft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| params | Yes |