MCP tools

Update campaign, ad set or ad

Update a campaign, ad set, or ad node.

Tool name: update-node.

Update a campaign, ad set, or ad node. To attach a creative to an ad, pass creativeId (numeric). To attach a persisted copy generation to an ad, pass copyGenerationId (numeric). To attach an existing Meta post to an ad, pass postId (string). To pause/activate/resume a live node, pass properties: { status: "PAUSED" | "ACTIVE" }, status is NOT a settings path, it lives on the node itself and must go through update-node. Turning a live node ACTIVE can restart spend, so it runs only on the user's explicit approval: in Koast chat the call returns an approval card and nothing changes until the user approves it. Pausing a live node works the same way by default: the call returns an approval card, so never say it is paused until the user approves it. To pause or turn on several nodes with the same status, make ONE call with nodeIds (instead of nodeId) and properties: { status } only: the user approves them all on one card, and the result lists each node that was changed or not. properties accepts only status and copy: names go through rename-node and settings through update-settings, and any other key is refused with nothing applied. At least one of creativeId / copyGenerationId / postId / properties must be provided.

When to use

Attach a creativeId, copyGenerationId or postId to an ad, OR pause/activate/resume a live node via properties.status ("PAUSED"|"ACTIVE"); for several nodes with the same status, one call with nodeIds. NOT for renaming (use rename-node) and NOT for settings (budget, targeting, schedule), use update-settings for those. status is NOT a settings path.

Access

PropertyValue
Required scopewrite
PublishesNo
Read-onlyNo
DestructiveYes
IdempotentNo
Open worldYes

Input

FieldTypeRequiredDescription
campaignLaunchIdstringYesCampaign launch ID (a.k.a. batch ID). Read it from the Current Context block when one is in scope, or resolve it from a mention via list-account-campaigns / the campaign tree when the user @-mentioned a different launch.
nodeIdstringNoID of the node to update. To pause or turn on several nodes, pass nodeIds instead.
nodeIdsstring[]NoIDs of several nodes (up to 50) to pause or turn on in one call, with properties: { status: "PAUSED" | "ACTIVE" } and nothing else. The user approves them together on one card. To pause or turn on more than one node with the same status, use this instead of one call per node. Do not mix live nodes with drafts in one call. At least 1 item, at most 50 items.
creativeIdnumberNoNumeric creative ID to attach to an ad node. Creative ids come from the Attachments block, list-creatives or upload-creative; never derive one from a node id or post id.
copyGenerationIdnumberNoNumeric copy generation ID to attach to an ad node. Use this AFTER calling generate-copy, take the returned id and pass it here on the target ad.
postIdstringNoExisting provider post ID to attach to an ad node.
propertiesobjectNoOnly status ("PAUSED" | "ACTIVE", live nodes only) and copy (an ad's copy) are accepted. Anything else is refused: rename with rename-node, change settings with update-settings. Do NOT put creativeId / copyGenerationId / postId here, use the dedicated fields above.

Output

The tool catalog does not declare an output schema for this tool.

REST equivalent

PATCH /v1/brands/{brandId}/launches/{launchId}/nodes/{nodeId}, Update campaign, ad set or ad. CLI: koast update-node.

On this page