mcpDeterministic

Update gtm asset candidate

tools/call

Edit an unapproved GTM asset candidate, or create a superseding version when the selected asset is immutable.

Parameters

workspaceIdrequired
string
No description.
offeringIdrequired
string
No description.
kindrequired
string
No description.
offer | lead_magnet
idrequired
string
No description.
expectedUpdatedAtrequired
string
No description.
candidaterequired
object
No description.
offerType
string
No description.
direct_offer | front_end_offer | trial

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update-gtm-asset-candidate",
"arguments": {
"workspaceId": "00000000-0000-4000-8000-000000000000",
"offeringId": "00000000-0000-4000-8000-000000000000",
"kind": "offer",
"id": "00000000-0000-4000-8000-000000000000",
"expectedUpdatedAt": "2026-01-01T00:00:00.000Z",
"candidate": {}
}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"asset": {
"type": "object"
}
},
"required": [
"asset"
]
}

JSON-RPC errors

-32602
Invalid parameters. Field-level details are returned in the JSON-RPC error data.
-32001
Authentication or hosted AI consent is required.
-32003
Workspace access is denied.
-32029
The request was rate limited.
Pipeline MCP documentation | Pipeline