Publish an ICP draft
publishIcpPublishes an ICP draft as the ICP's new current version. With publish_linked_drafts, a new ICP's linked Product drafts are published too. Retrying with the same idempotencyKey and input returns the first result instead of repeating the action.
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>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "publishIcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| params | Yes | ||
| idempotencyKey | Yes | A unique key for this action. Reuse it only to retry the same call with the same input; use a new key for a new action. |