# MCP tool reference

1 callable tools.

Use tools/call at https://mcp.schedulerzero.com/mcp with the exact tool name and arguments below. The /tools/ paths in this view are documentation identifiers, not HTTP endpoints. Request execution is disabled for this reference.

Inputs are shown for personal API keys (bound) and for OAuth/delegated agents. Output schemas describe MCP structuredContent: native objects pass through; arrays, scalars and null use a data wrapper. Text content retains the native JSON result.

[Connect a client](/mcp/connect) · [Authentication and authorization](/authentication) · [Generated auth guide](/auth.md) · [Download tool catalog](/mcp-catalog.json) · [Agent documentation](/llms.txt)

## export_campaign_delivery

Export filtered monitored-send outcomes with immutable recipient attribution to CSV.

Use when a workspace member needs a portable diagnostic report.

Do not use this for real-time status checks; inspect_campaign_delivery provides paged current results.

Scopes: analytics:export

Risk: read; confirmation: none; idempotency: none.

### Input schema (personal API key)

```json
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid"
    },
    "campaignId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid"
    },
    "outcome": {
      "type": "string",
      "enum": [
        "pending",
        "delivered",
        "failed",
        "unconfirmed"
      ]
    },
    "cause": {
      "type": "string",
      "enum": [
        "sender",
        "recipient",
        "unclassified"
      ]
    },
    "failureCharacter": {
      "type": "string",
      "enum": [
        "temporary",
        "permanent",
        "unknown"
      ]
    },
    "sequenceDisposition": {
      "type": "string",
      "enum": [
        "held",
        "continued",
        "resumed",
        "stopped"
      ]
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "workspaceId",
    "campaignId"
  ],
  "patternProperties": {
    "^(?!(?:workspaceId|campaignId|outcome|cause|failureCharacter|sequenceDisposition|offset)$)[\\s\\S]*$": false
  },
  "additionalProperties": true,
  "propertyNames": {
    "type": "string",
    "enum": [
      "workspaceId",
      "campaignId",
      "outcome",
      "cause",
      "failureCharacter",
      "sequenceDisposition",
      "offset"
    ]
  }
}
```

### Input schema (OAuth / delegated agent)

```json
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid"
    },
    "campaignId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid"
    },
    "outcome": {
      "type": "string",
      "enum": [
        "pending",
        "delivered",
        "failed",
        "unconfirmed"
      ]
    },
    "cause": {
      "type": "string",
      "enum": [
        "sender",
        "recipient",
        "unclassified"
      ]
    },
    "failureCharacter": {
      "type": "string",
      "enum": [
        "temporary",
        "permanent",
        "unknown"
      ]
    },
    "sequenceDisposition": {
      "type": "string",
      "enum": [
        "held",
        "continued",
        "resumed",
        "stopped"
      ]
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "workspaceId",
    "campaignId"
  ],
  "patternProperties": {
    "^(?!(?:workspaceId|campaignId|outcome|cause|failureCharacter|sequenceDisposition|offset)$)[\\s\\S]*$": false
  },
  "additionalProperties": true,
  "propertyNames": {
    "type": "string",
    "enum": [
      "workspaceId",
      "campaignId",
      "outcome",
      "cause",
      "failureCharacter",
      "sequenceDisposition",
      "offset"
    ]
  }
}
```

### Output schema (structuredContent)

```json
{
  "type": "object",
  "properties": {
    "fileName": {
      "type": "string"
    },
    "contentType": {
      "type": "string",
      "enum": [
        "text/csv"
      ]
    },
    "content": {
      "type": "string"
    },
    "recordCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "truncated": {
      "type": "boolean"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "nextOffset": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "fileName",
    "contentType",
    "content",
    "recordCount",
    "truncated",
    "offset",
    "nextOffset"
  ],
  "patternProperties": {
    "^(?!(?:fileName|contentType|content|recordCount|truncated|offset|nextOffset)$)[\\s\\S]*$": false
  },
  "additionalProperties": true,
  "propertyNames": {
    "type": "string",
    "enum": [
      "fileName",
      "contentType",
      "content",
      "recordCount",
      "truncated",
      "offset",
      "nextOffset"
    ]
  }
}
```

### Underlying API operations

- `campaignDelivery.export`: `GET /v1/workspaces/:workspaceId/campaigns/:campaignId/delivery/export`

