ICP / GTM / MCP

Save segment

Deterministically create or update one coding-agent-authored Launchpad segment by workspace and slug. Does not invoke hosted inference.

tools/callDeterministic operation

Parameters

workspaceIdRequired · string
See the input schema for this field.
segmentRequired · object
See the input schema for this field.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save-segment",
    "arguments": {
      "workspaceId": "00000000-0000-4000-8000-000000000000",
      "segment": {
        "name": "example"
      }
    }
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "segment": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "color": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "valueProp": {
          "type": "string"
        },
        "pain": {
          "type": "string"
        },
        "criteria": {
          "type": "object",
          "additionalProperties": true
        },
        "exampleAccounts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ]
          }
        },
        "personaIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "icpProfileId": {
          "type": "string"
        },
        "weight": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "estimatedLeads": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "workspaceId",
    "segment"
  ]
}
See this operation inCLI REST API TypeScript SDK
Tool directory | Pipeline v2 preview