finalize_support_attachment
Verify an uploaded object against its signed declaration and issue the download capability.
# 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)
## finalize_support_attachment
Verify an uploaded object against its signed declaration and issue the download capability.
Use after PUT-ing bytes to the upload URL, before referencing the attachment in a case.
An expired or foreign upload token cannot finalize; open a fresh upload instead.
Scopes: support:create
Risk: write; confirmation: none; idempotency: required.
### 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"
},
"uploadToken": {
"$ref": "#/$defs/SupportCapabilityToken"
}
},
"required": [
"workspaceId",
"uploadToken"
],
"patternProperties": {
"^(?!(?:workspaceId|uploadToken)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"uploadToken"
]
},
"$defs": {
"SupportCapabilityToken": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
```
### 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"
},
"uploadToken": {
"$ref": "#/$defs/SupportCapabilityToken"
}
},
"required": [
"workspaceId",
"uploadToken"
],
"patternProperties": {
"^(?!(?:workspaceId|uploadToken)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"uploadToken"
]
},
"$defs": {
"SupportCapabilityToken": {
"type": "string",
"minLength": 1,
"maxLength": 4096
}
}
}
```
### Output schema (structuredContent)
```json
{
"type": "object",
"properties": {
"downloadToken": {
"$ref": "#/$defs/SupportCapabilityToken"
},
"fileName": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"expiresAt": {
"$ref": "#/$defs/UtcDateTimeEncoded"
}
},
"required": [
"downloadToken",
"fileName",
"expiresAt"
],
"patternProperties": {
"^(?!(?:downloadToken|fileName|expiresAt)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"downloadToken",
"fileName",
"expiresAt"
]
},
"$defs": {
"SupportCapabilityToken": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"UtcDateTimeEncoded": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
}
}
}
```
### Underlying API operations
- `support.finalizeAttachment`: `POST /v1/workspaces/:workspaceId/support/attachments/finalize`