Tool details
| Field | Value |
|---|---|
| Name | outlook__upload_attachment |
| Group | Uploads |
Playground
Input schema
input-schema.json
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"message_id": {
"type": "string",
"minLength": 1,
"description": "Outlook message ID containing the attachment."
},
"attachment_id": {
"type": "string",
"minLength": 1,
"description": "Outlook attachment ID returned by list_attachments."
},
"file_path": {
"type": "string",
"description": "Destination upload path (for example, inbox/attachments/submission-id/job.pdf)."
},
"content_type": {
"type": "string",
"minLength": 1,
"description": "MIME type to store with the upload. Defaults to the Microsoft Graph response content type."
},
"expected_size": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 26214400,
"description": "Optional exact byte size guard. The tool fails if downloaded bytes do not match."
},
"max_bytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 26214400,
"description": "Optional attachment size limit in bytes. Defaults to and cannot exceed 26214400 (25 MiB)."
}
},
"required": [
"message_id",
"attachment_id",
"file_path"
],
"additionalProperties": false,
"description": "Input schema for the outlook__upload_attachment tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
Output schema
output-schema.json
{
"type": "object",
"properties": {
"upload_id": {
"type": "string",
"description": "The upload id associated with this record."
},
"file_path": {
"type": "string",
"description": "The file path associated with this record."
},
"path": {
"type": "string",
"description": "The path associated with this record."
},
"file_name": {
"type": "string",
"description": "The file name associated with this record."
},
"content_type": {
"type": "string",
"description": "The content type associated with this record."
},
"size": {
"type": "number",
"description": "The size associated with this record."
},
"status": {
"type": "string",
"description": "Lifecycle status for the record."
}
},
"required": [
"upload_id",
"file_path",
"path",
"file_name",
"content_type",
"size",
"status"
],
"additionalProperties": false,
"description": "Structured download url to project upload output schema for MCP tools.",
"$schema": "http://json-schema.org/draft-07/schema#"
}