Workflows v2 (Plays) / MCP

List workflows

List all custom GTM workflows in the workspace. Each row carries id, name, description, status, schedule, current workflow_definition, and last-run summary. The workspace is inferred from the API key - pass workspace_id only when calling with a multi-workspace key. Read-only.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
workspace_idOptional · string
Workspace UUID. Optional with API key auth - inferred from the key.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list-workflows",
    "arguments": {}
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
    },
    "workspace_id": {
      "type": "string",
      "description": "Workspace UUID. Optional with API key auth - inferred from the key."
    }
  }
}
See this operation inCLI REST API TypeScript SDK
MCP reference | Pipeline v2 preview