outlook_upload_task_attachment
Attach a local file of up to 20 MiB to an existing To Do task by uploading it as inline base64, so task details include the supporting document.
Instructions
Attach a local file to a To Do task via inline base64 POST (1 byte – 20 MiB).
file_path resolves inside the configured attachments directory. Larger
files are refused up front: Graph caps the request body at 30 MB and base64
inflates the file 4/3, so 20 MiB is the honest ceiling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>",
"file_path": "<file_path>"
},
"name": "outlook_upload_task_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | No | ||
| task_id | Yes | ||
| file_path | Yes |