outlook_ calendar. update_ event
Update an Outlook Calendar event.
5 credits. Per event changed. 0 when cancelled.
Example prompt
Send this to your AI app when Heelo is connected:
Move my 3pm meeting tomorrow to 4pm
Input fields
| Field | Type | Description |
|---|---|---|
query | string | Natural-language change request. |
event_id | string | Target event id (skips lookup). |
timezone | string | IANA timezone override. |
session_id | string | Multi-turn session id. |
message | string | Follow-up answer in a multi-turn session. |
review_id | string | An approved review (doc.review_decide) that this write uses; it is claimed before the write. |
Output fields
The fields in data when status is success.
| Field | Type | Description |
|---|---|---|
updated | boolean | |
event | object | |
before | object | |
timezone_note | string | Set when the event's zone is a fallback: tell the user. |
Code
The call with the input fields that the tool needs. Set HEELO_API_KEY to your API key.
import os
import requests
response = requests.post(
"https://toolsprimitives.uk/v1/tools/outlook_calendar.update_event/invoke",
headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
json={"input": {
"query": "Move my 3pm meeting tomorrow to 4pm",
}},
timeout=120,
)
response.raise_for_status()
print(response.json())// Node.js 18 or newer, in an ES module.
const response = await fetch("https://toolsprimitives.uk/v1/tools/outlook_calendar.update_event/invoke", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HEELO_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
input: {
"query": "Move my 3pm meeting tomorrow to 4pm"
},
}),
signal: AbortSignal.timeout(120_000),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());