mcpDeterministic

Update segment

tools/call

Patch selected fields on one draft Launchpad segment. Uses expectedUpdatedAt for conflict protection. Active segments must use campaign revision.

Parameters

workspaceIdrequired
string
No description.
segmentIdrequired
string
No description.
expectedUpdatedAtrequired
string
No description.
patchrequired
object
No description.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update-segment",
"arguments": {
"workspaceId": "00000000-0000-4000-8000-000000000000",
"segmentId": "00000000-0000-4000-8000-000000000000",
"expectedUpdatedAt": "2026-01-01T00:00:00.000Z",
"patch": {}
}
}
}

Response

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

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