Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Microsoft tools and API reference

Use this reference to match a Stackyapper Microsoft tool to its Microsoft API and permission requirements. Availability, workspace tool access, selected workloads, Microsoft consent, account roles and licenses determine which tools your account can use.
For connection steps, see Microsoft 365. The reference covers user sign-in tools, 32 application-access tools and the 11 operations in the separate Planner Premium template. Some workspaces may not yet have access to these connections.

Find the exact input schema

Ask your connected AI client to find the required Microsoft tool, then load its schema before running it. Use your workspace's tools ending in _search_tools and _get_tool_schemas to see operations available to that account. Read operations use _execute_read_tool; other operations use _execute_tool. Deletes and other high-consequence operations also return a one-time confirmation for that exact call. Tool prefixes can differ between workspaces.
The tables list all input names, with required inputs marked. The discovered schema gives their types, accepted values, defaults and limits. An input name can differ from the Microsoft URL placeholder. For example, plan_id supplies {planId}. Use the Stackyapper input names when calling a tool.

User sign-in permissions

Microsoft 365 user sign-in uses Microsoft Graph delegated permissions. Requests run with the signed-in person's Microsoft access. Standard user, advanced user and workspace administrator below are Stackyapper permission levels; Microsoft may separately require administrator consent, an eligible Microsoft role or a license. Write capabilities are separate choices.
All connections include openid, profile, offline_access and User.Read for account identity and continued access. A smaller selection in Stackyapper limits which tools it may use; it does not revoke Microsoft's existing consent.
CapabilityMicrosoft delegated scopesStackyapper levelAccess
Preview: view my Microsoft sensitivity labelsInformationProtectionPolicy.ReadWorkspace administratorAdministrative read
View Microsoft security alertsSecurityAlert.Read.AllWorkspace administratorAdministrative read
View Microsoft Purview retention labelsRecordsManagement.Read.AllWorkspace administratorAdministrative read
Manage Microsoft Purview retention labelsRecordsManagement.Read.All, RecordsManagement.ReadWrite.AllWorkspace administratorWrite, confirmation required
Microsoft account identityopenid, profile, offline_access, User.ReadStandard userAccount identity
View Outlook mailMail.ReadStandard userRead
Send Outlook mailMail.SendStandard userWrite
Create Outlook draftsMail.ReadWriteStandard userWrite
View Outlook calendarCalendars.ReadStandard userRead
Manage Outlook calendarCalendars.ReadWriteStandard userWrite
View OneDrive filesFiles.ReadStandard userRead
Share OneDrive filesFiles.ReadWriteStandard userWrite, confirmation required
View Microsoft 365 directoryUser.Read.AllWorkspace administratorAdministrative read
View Microsoft Teams chatsChat.ReadAdvanced userRead
Post Microsoft Teams messagesChatMessage.SendAdvanced userWrite
View Outlook contactsContacts.ReadStandard userRead
View To Do tasksTasks.ReadStandard userRead
View Planner plansTasks.ReadStandard userRead
Manage Basic Planner plans and tasksTasks.Read, Tasks.ReadWriteAdvanced userWrite; deletes need confirmation
View Excel worksheet metadataFiles.ReadWriteAdvanced userRead
View SharePoint site metadataSites.Read.AllAdvanced userRead
View OneNote notebook metadataNotes.ReadStandard userRead
View Teams channel metadataChannel.ReadBasic.AllAdvanced userRead
View online meeting metadataOnlineMeetings.ReadAdvanced userRead
View Microsoft group metadataGroupMember.Read.AllWorkspace administratorAdministrative read
View Microsoft directory objectsDirectory.Read.AllWorkspace administratorAdministrative read
View Microsoft organization metadataOrganization.Read.AllWorkspace administratorAdministrative read
View Microsoft application metadataApplication.Read.AllWorkspace administratorAdministrative read
View conditional access policy metadataPolicy.Read.AllWorkspace administratorAdministrative read
View Microsoft directory audit metadataAuditLog.Read.All, Directory.Read.AllWorkspace administratorAdministrative read
View Intune device metadataDeviceManagementManagedDevices.Read.AllWorkspace administratorAdministrative read
View education school metadataEduRoster.ReadBasicWorkspace administratorAdministrative read
Search Microsoft file metadataFiles.Read.AllWorkspace administratorAdministrative read
View external connection metadataExternalConnection.Read.AllWorkspace administratorAdministrative read
View Bookings business metadataBookings.Read.AllAdvanced userRead
View Microsoft place metadataPlace.Read.AllWorkspace administratorAdministrative read
View Universal Print printer metadataPrinter.Read.AllWorkspace administratorAdministrative read
Microsoft's permission reference explains each permission and its administrator-consent requirements. Read the consent guidance before granting organization-wide access.

Optional daily-workflow access

These 15 choices are separate from the existing workload choices. None is selected by default, and choosing one does not silently add it to an existing account selection. Select the required choice and approve any additional Microsoft consent before using its tools. Saving a smaller selection limits future use in Stackyapper without revoking Microsoft's existing consent. Microsoft administrator consent, product licenses and the person's access still apply.
ChoiceSelection IDDelegated scopesAccess
Find Microsoft 365 peoplem365_daily_peopleUser.ReadBasic.AllRead
Find my Planner groups and plansm365_daily_plansUser.Read, User.ReadBasic.All, GroupMember.ReadBasic.All, Tasks.ReadRead
Read Outlook conversations and attachmentsm365_daily_mail_readMail.ReadRead
Manage Outlook conversations and draftsm365_daily_mail_manageMail.ReadWriteWrite; deletes need confirmation
Review and send Outlook draftsm365_daily_draft_sendMail.ReadWrite, Mail.SendWrite
Find calendars and meeting availabilitym365_daily_calendar_readCalendars.ReadBasicRead
Reschedule and cancel meetingsm365_daily_calendar_manageCalendars.ReadWriteWrite; cancelling needs confirmation
Read Teams channel conversationsm365_daily_teams_readTeam.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.AllRead
Post and reply in Teams channelsm365_daily_teams_writeChannelMessage.SendWrite
Delete Teams channel messagesm365_daily_teams_deleteChannelMessage.ReadWriteDelete; confirmation required
Find and read OneDrive and SharePoint filesm365_daily_files_readFiles.Read.All, Sites.Read.AllRead
Create and organize OneDrive filesm365_daily_files_manageFiles.ReadWriteWrite; deletes need confirmation
Share files with named recipientsm365_daily_files_shareFiles.ReadWriteWrite, confirmation required
Find my Microsoft To Do tasksm365_daily_todo_readTasks.ReadRead
Manage my Microsoft To Do tasksm365_daily_todo_manageTasks.ReadWriteWrite; deletes need confirmation
Delete operations also require destructive access in the workspace. A Microsoft scope does not replace the selected capability, tool grant or confirmation. The directory choices return basic identities for disambiguation, not permission to modify users, groups or memberships. Existing broader Microsoft consent may satisfy a documented read requirement; it does not select a new capability.

User sign-in tool endpoints

Paths use https://graph.microsoft.com/v1.0 unless a row specifies a full URL. A tool can make a POST request for a read, as Microsoft Search does. Its access classification below describes whether the operation changes data.
ToolMicrosoft APIDelegated scopesStackyapper inputsAccess
m365_list_planner_plansGET /groups/{groupId}/planner/plansTasks.Readgroup_id (required), query, limit, cursorRead
m365_list_planner_tasksGET /planner/plans/{planId}/tasksTasks.Readplan_id (required), limit, cursorRead
m365_list_my_planner_tasksGET /me/planner/tasksTasks.Readlimit, cursorRead
m365_list_planner_bucketsGET /planner/plans/{planId}/bucketsTasks.Readplan_id (required), limit, cursorRead
m365_get_planner_taskGET /planner/tasks/{taskId}Tasks.Readtask_id (required)Read
m365_update_planner_task_assignmentsPATCH /planner/tasks/{taskId}Tasks.ReadWritetask_id (required), etag (required), assignment_changes (required)Write
m365_get_planner_bucketGET /planner/buckets/{bucketId}Tasks.Readbucket_id (required)Read
m365_get_planner_task_detailsGET /planner/tasks/{taskId}/detailsTasks.Readtask_id (required)Read
m365_create_planner_planPOST /planner/plansTasks.ReadWritegroup_id (required), title (required)Write
m365_update_planner_planPATCH /planner/plans/{planId}Tasks.ReadWriteplan_id (required), etag (required), title (required)Write
m365_delete_planner_planDELETE /planner/plans/{planId}Tasks.ReadWriteplan_id (required), etag (required)Delete
m365_create_planner_bucketPOST /planner/bucketsTasks.ReadWriteplan_id (required), name (required), order_hintWrite
m365_update_planner_bucketPATCH /planner/buckets/{bucketId}Tasks.ReadWritebucket_id (required), etag (required), name (required), order_hintWrite
m365_delete_planner_bucketDELETE /planner/buckets/{bucketId}Tasks.ReadWritebucket_id (required), etag (required)Delete
m365_create_planner_taskPOST /planner/tasksTasks.ReadWriteplan_id (required), title (required), bucket_id, start_date_time, due_date_time, priorityWrite
m365_update_planner_taskPATCH /planner/tasks/{taskId}Tasks.ReadWritetask_id (required), etag (required), title (required), bucket_id, start_date_time, due_date_time, priority, percent_completeWrite
m365_delete_planner_taskDELETE /planner/tasks/{taskId}Tasks.ReadWritetask_id (required), etag (required)Delete
m365_update_planner_task_detailsPATCH /planner/tasks/{taskId}/detailsTasks.ReadWritetask_id (required), etag (required), replacement_description (required)Write
m365_get_my_profileGET /meUser.ReadNoneRead
m365_get_contactGET /me/contacts/{contactId}Contacts.Readcontact_id (required)Read
m365_get_task_listGET /me/todo/lists/{listId}Tasks.Readlist_id (required)Read
m365_get_taskGET /me/todo/lists/{listId}/tasks/{taskId}Tasks.Readlist_id (required), task_id (required)Read
m365_get_planner_planGET /planner/plans/{planId}Tasks.Readplan_id (required)Read
m365_list_file_childrenGET /me/drive/items/{itemId}/childrenFiles.Readitem_id (required), limit, cursorRead
m365_get_worksheetGET /me/drive/items/{itemId}/workbook/worksheets/{worksheetId}Files.ReadWriteitem_id (required), worksheet_id (required)Read
m365_get_siteGET /sites/{siteId}Sites.Read.Allsite_id (required)Read
m365_get_site_listGET /sites/{siteId}/lists/{listId}Sites.Read.Allsite_id (required), list_id (required)Read
m365_get_notebookGET /me/onenote/notebooks/{notebookId}Notes.Readnotebook_id (required)Read
m365_get_channelGET /teams/{teamId}/channels/{channelId}Channel.ReadBasic.Allteam_id (required), channel_id (required)Read
m365_get_online_meetingGET /me/onlineMeetings/{meetingId}OnlineMeetings.Readmeeting_id (required)Read
m365_get_groupGET /groups/{groupId}GroupMember.Read.Allgroup_id (required)Read
m365_get_directory_objectGET /directoryObjects/{objectId}Directory.Read.Allobject_id (required)Read
m365_get_organizationGET /organization/{organizationId}Organization.Read.Allorganization_id (required)Read
m365_get_applicationGET /applications/{applicationId}Application.Read.Allapplication_id (required)Read
m365_get_conditional_access_policyGET /identity/conditionalAccess/policies/{policyId}Policy.Read.Allpolicy_id (required)Read
m365_get_directory_auditGET /auditLogs/directoryAudits/{auditId}AuditLog.Read.All, Directory.Read.Allaudit_id (required)Read
m365_get_managed_deviceGET /deviceManagement/managedDevices/{deviceId}DeviceManagementManagedDevices.Read.Alldevice_id (required)Read
m365_get_schoolGET /education/schools/{schoolId}EduRoster.ReadBasicschool_id (required)Read
m365_get_external_connectionGET /external/connections/{connectionId}ExternalConnection.Read.Allconnection_id (required)Read
m365_get_booking_businessGET /solutions/bookingBusinesses/{businessId}Bookings.Read.Allbusiness_id (required)Read
m365_get_placeGET /places/{placeId}Place.Read.Allplace_id (required)Read
m365_get_printerGET /print/printers/{printerId}Printer.Read.Allprinter_id (required)Read
m365_search_filesPOST /search/queryFiles.Read.Allquery (required), limitRead
m365_list_retention_labelsGET /security/labels/retentionLabelsRecordsManagement.Read.AllNoneRead
m365_get_retention_labelGET /security/labels/retentionLabels/{retentionLabelId}RecordsManagement.Read.Alllabel_id (required)Read
m365_create_retention_labelPOST /security/labels/retentionLabelsRecordsManagement.ReadWrite.Allpayload (required)Destructive write
m365_update_retention_labelPATCH /security/labels/retentionLabels/{retentionLabelId}RecordsManagement.ReadWrite.Alllabel_id (required), payload (required)Destructive write
m365_delete_retention_labelDELETE /security/labels/retentionLabels/{retentionLabelId}RecordsManagement.ReadWrite.Alllabel_id (required)Delete
m365_list_security_alertsGET /security/alerts_v2SecurityAlert.Read.Alllimit, cursorRead
m365_get_security_alertGET /security/alerts_v2/{alertId}SecurityAlert.Read.Allalert_id (required)Read
m365_list_sensitivity_labels_previewGET https://graph.microsoft.com/beta/me/security/informationProtection/sensitivityLabelsInformationProtectionPolicy.Readallow_preview_api (required), limit, cursorRead
m365_get_sensitivity_label_previewGET https://graph.microsoft.com/beta/me/security/informationProtection/sensitivityLabels/{sensitivityLabelId}InformationProtectionPolicy.Readallow_preview_api (required), label_id (required)Read
m365_list_messagesGET /me/messagesMail.Readquery, limit, cursorRead
m365_get_messageGET /me/messages/{message-id}Mail.Readmessage_id (required)Read
m365_list_mail_foldersGET /me/mailFoldersMail.Readlimit, cursorRead
m365_send_mailPOST /me/sendMailMail.Sendpayload (required)Write
m365_create_draftPOST /me/messagesMail.ReadWritepayload (required)Write
m365_list_calendar_eventsGET /me/calendarViewCalendars.Readstart (required), end (required), limit, cursorRead
m365_get_eventGET /me/events/{event-id}Calendars.Readevent_id (required)Read
m365_create_eventPOST /me/eventsCalendars.ReadWritepayload (required)Write
m365_accept_eventPOST /me/events/{event-id}/acceptCalendars.ReadWriteevent_id (required), payloadWrite
m365_decline_eventPOST /me/events/{event-id}/declineCalendars.ReadWriteevent_id (required), payloadWrite
m365_tentatively_accept_eventPOST /me/events/{event-id}/tentativelyAcceptCalendars.ReadWriteevent_id (required), payloadWrite
m365_get_fileGET /me/drive/items/{item-id}Files.Readitem_id (required)Read
m365_create_share_linkPOST /me/drive/items/{item-id}/createLinkFiles.ReadWriteitem_id (required), payload (required)Write
m365_get_userGET /users/{user-id}User.Read.Alluser_id (required)Read
m365_list_chatsGET /chatsChat.Readlimit, cursorRead
m365_list_chat_messagesGET /chats/{chat-id}/messagesChat.Readchat_id (required), limit, cursorRead
m365_post_chat_messagePOST /chats/{chat-id}/messagesChatMessage.Sendchat_id (required), payload (required)Write

Daily-workflow tool endpoints

These tools use the selected user sign-in connection. The application connection does not inherit them. Required inputs are marked below; load the current schema for accepted values and object fields.

People and plans

ToolMicrosoft APIDelegated scopesStackyapper inputsAccess
m365_search_usersGET /usersUser.ReadBasic.Allquery (required), limit, cursorRead
m365_list_my_groupsGET /me/memberOf/microsoft.graph.groupUser.Read, GroupMember.ReadBasic.Allquery, limit, cursorRead
m365_list_group_membersGET /groups/{groupId}/members/microsoft.graph.userGroupMember.ReadBasic.All, User.ReadBasic.Allgroup_id (required), limit, cursorRead

Outlook mail

ToolMicrosoft APIDelegated scopesStackyapper inputsAccess
m365_list_message_to_recipientsGET /me/messages/{messageId}Mail.Readmessage_id (required), limit, cursorRead
m365_list_message_cc_recipientsGET /me/messages/{messageId}Mail.Readmessage_id (required), limit, cursorRead
m365_list_message_bcc_recipientsGET /me/messages/{messageId}Mail.Readmessage_id (required), limit, cursorRead
m365_list_message_reply_toGET /me/messages/{messageId}Mail.Readmessage_id (required), limit, cursorRead
m365_get_draft_stateGET /me/messages/{messageId}Mail.ReadWritemessage_id (required)Read
m365_get_message_contentGET /me/messages/{messageId}Mail.Readmessage_id (required), limit, cursorRead
m365_list_conversation_messagesGET /me/messagesMail.Readconversation_id (required), limit, cursorRead
m365_list_message_attachmentsGET /me/messages/{messageId}/attachmentsMail.Readmessage_id (required), limit, cursorRead
m365_get_message_attachmentGET /me/messages/{messageId}/attachments/{attachmentId}Mail.Readmessage_id (required), attachment_id (required)Read
m365_create_reply_draftPOST /me/messages/{messageId}/createReplyMail.ReadWritemessage_id (required), commentWrite
m365_create_reply_all_draftPOST /me/messages/{messageId}/createReplyAllMail.ReadWritemessage_id (required), commentWrite
m365_create_forward_draftPOST /me/messages/{messageId}/createForwardMail.ReadWritemessage_id (required), to_recipients (required), commentWrite
m365_update_draftPATCH /me/messages/{messageId}Mail.ReadWritemessage_id (required), payload (required)Write
m365_send_draftPOST /me/messages/{messageId}/sendMail.Send, Mail.ReadWritemessage_id (required), expected_change_key (required)Write
m365_mark_message_readPATCH /me/messages/{messageId}Mail.ReadWritemessage_id (required), is_read (required)Write
m365_flag_messagePATCH /me/messages/{messageId}Mail.ReadWritemessage_id (required), flag_status (required)Write
m365_move_messagePOST /me/messages/{messageId}/moveMail.ReadWritemessage_id (required), destination_folder_id (required)Delete
m365_delete_messagePOST /me/messages/{messageId}/moveMail.ReadWritemessage_id (required)Delete
m365_add_message_attachmentPOST /me/messages/{messageId}/attachmentsMail.ReadWritemessage_id (required), payload (required)Write

Calendars

ToolMicrosoft APIDelegated scopesStackyapper inputsAccess
m365_get_event_update_stateGET /me/events/{eventId}Calendars.ReadWriteevent_id (required)Read
m365_list_calendarsGET /me/calendarsCalendars.ReadBasiclimit, cursorRead
m365_get_calendarGET /me/calendars/{calendarId}Calendars.ReadBasiccalendar_id (required)Read
m365_list_calendar_viewGET /me/calendars/{calendarId}/calendarViewCalendars.ReadBasiccalendar_id (required), start (required), end (required), limit, cursorRead
m365_get_event_detailsGET /me/events/{eventId}Calendars.ReadBasicevent_id (required)Read
m365_list_event_attendeesGET /me/events/{eventId}Calendars.ReadBasicevent_id (required), limit, cursorRead
m365_get_schedulePOST /me/calendar/getScheduleCalendars.ReadBasicschedules (required), start (required), end (required), interval_minutesRead
m365_update_eventPATCH /me/events/{eventId}Calendars.ReadWriteevent_id (required), expected_change_key (required), payload (required)Write
m365_cancel_eventPOST /me/events/{eventId}/cancelCalendars.ReadWriteevent_id (required), expected_change_key (required), comment (required)Delete

Teams channels

ToolMicrosoft APIDelegated scopesStackyapper inputsAccess
m365_list_joined_teamsGET /me/joinedTeamsTeam.ReadBasic.Alllimit, cursorRead
m365_list_team_channelsGET /teams/{teamId}/channelsChannel.ReadBasic.Allteam_id (required), limit, cursorRead
m365_list_channel_messagesGET /teams/{teamId}/channels/{channelId}/messagesChannelMessage.Read.Allteam_id (required), channel_id (required), limit, cursorRead
m365_list_channel_repliesGET /teams/{teamId}/channels/{channelId}/messages/{messageId}/repliesChannelMessage.Read.Allteam_id (required), channel_id (required), message_id (required), limit, cursorRead
m365_get_channel_messageGET /teams/{teamId}/channels/{channelId}/messages/{messageId}ChannelMessage.Read.Allteam_id (required), channel_id (required), message_id (required)Read
m365_post_channel_messagePOST /teams/{teamId}/channels/{channelId}/messagesChannelMessage.Sendteam_id (required), channel_id (required), text (required)Write
m365_reply_channel_messagePOST /teams/{teamId}/channels/{channelId}/messages/{messageId}/repliesChannelMessage.Sendteam_id (required), channel_id (required), message_id (required), text (required)Write
m365_delete_channel_messagePOST /teams/{teamId}/channels/{channelId}/messages/{messageId}/softDeleteChannelMessage.ReadWriteteam_id (required), channel_id (required), message_id (required)Delete
m365_delete_channel_replyPOST /teams/{teamId}/channels/{channelId}/messages/{messageId}/replies/{replyId}/softDeleteChannelMessage.ReadWriteteam_id (required), channel_id (required), message_id (required), reply_id (required)Delete

Files

ToolMicrosoft APIDelegated scopesStackyapper inputsAccess
m365_list_my_drivesGET /me/drivesFiles.Readlimit, cursorRead
m365_search_sitesGET /sitesSites.Read.Allquery (required), limit, cursorRead
m365_list_site_drivesGET /sites/{siteId}/drivesFiles.Readsite_id (required), limit, cursorRead
m365_get_drive_rootGET /drives/{driveId}/rootFiles.Readdrive_id (required)Read
m365_get_drive_itemGET /drives/{driveId}/items/{itemId}Files.Readdrive_id (required), item_id (required)Read
m365_list_drive_childrenGET /drives/{driveId}/items/{itemId}/childrenFiles.Readdrive_id (required), item_id (required), limit, cursorRead
m365_read_drive_text_contentGET /drives/{driveId}/items/{itemId}/contentFiles.Readdrive_id (required), item_id (required)Read
m365_download_drive_fileGET /drives/{driveId}/items/{itemId}/contentFiles.Readdrive_id (required), item_id (required)Read
m365_upload_drive_text_filePUT /drives/{driveId}/items/{parentId}:/{fileName}:/contentFiles.ReadWritedrive_id (required), parent_id (required), file_name (required), content (required)Write
m365_upload_drive_filePUT /drives/{driveId}/items/{parentId}:/{fileName}:/contentFiles.ReadWritedrive_id (required), parent_id (required), file_name (required), content (required)Write
m365_create_drive_folderPOST /drives/{driveId}/items/{parentId}/childrenFiles.ReadWritedrive_id (required), parent_id (required), name (required)Write
m365_delete_drive_fileDELETE /drives/{driveId}/items/{itemId}Files.ReadWritedrive_id (required), item_id (required), etag (required)Delete
m365_rename_drive_itemPATCH /drives/{driveId}/items/{itemId}Files.ReadWritedrive_id (required), item_id (required), etag (required), name (required)Write
m365_move_drive_itemPATCH /drives/{driveId}/items/{itemId}Files.ReadWritedrive_id (required), item_id (required), etag (required), destination_parent_id (required)Write
m365_share_drive_item_with_recipientsPOST /drives/{driveId}/items/{itemId}/inviteFiles.ReadWritedrive_id (required), item_id (required), recipients (required), send_invitation (required), messageWrite

Personal To Do

ToolMicrosoft APIDelegated scopesStackyapper inputsAccess
m365_list_todo_listsGET /me/todo/listsTasks.Readlimit, cursorRead
m365_list_todo_tasksGET /me/todo/lists/{listId}/tasks/deltaTasks.Readlist_id (required), limit, cursorRead
m365_get_todo_taskGET /me/todo/lists/{listId}/tasks/{taskId}Tasks.Readlist_id (required), task_id (required)Read
m365_create_todo_taskPOST /me/todo/lists/{listId}/tasksTasks.ReadWritelist_id (required), title (required), importance, due, start, replacement_body_htmlWrite
m365_update_todo_taskPATCH /me/todo/lists/{listId}/tasks/{taskId}Tasks.ReadWritelist_id (required), task_id (required), title (required), importance, due, start, replacement_body_htmlWrite
m365_complete_todo_taskPATCH /me/todo/lists/{listId}/tasks/{taskId}Tasks.ReadWritelist_id (required), task_id (required)Write
m365_set_todo_reminderPATCH /me/todo/lists/{listId}/tasks/{taskId}Tasks.ReadWritelist_id (required), task_id (required), is_reminder_on (required), reminderWrite
m365_delete_todo_taskDELETE /me/todo/lists/{listId}/tasks/{taskId}Tasks.ReadWritelist_id (required), task_id (required)Delete
Directory search accepts a display-name term, not an OData expression. Compare exact returned IDs and available mail or userPrincipalName values before choosing an assignee. Direct group membership excludes nested groups and transitive membership. Directory indexes can lag recent changes.

Read and write limits

  • Personal To Do task listings return up to 50 tasks per page (default 25). Continue with pagination.next_page_token as cursor, keeping the list and limit unchanged. Each call collects a complete Microsoft delta round before returning a page. It stops with an error above 20 requests, 1,000 received records, 4 MiB or 20 seconds, including any sign-in retry. Repeated records count toward the limit. If tasks change between pages, or Microsoft returns conflicting versions, restart the listing. Provider continuation links stay internal. To Do list discovery still uses next_cursor.
  • Basic Planner list tools accept limit (1–50, default 25) and cursor from pagination.next_page_token. Keep the same limit while continuing. Each page refetches the complete, byte-bounded collection, orders it by stable ID and rejects a changed snapshot. Microsoft continuation is still rejected rather than silently omitting records. Plan, task, bucket and task-detail reads are separate operations.
  • Planner assignment changes accept 1–20 distinct Microsoft user IDs. Read the task first and use its current response_etag. Named additions and removals preserve other assignees. Updates and deletions require a concrete ETag; * is not accepted. After a conflict, read again and review the change.
  • A Planner description read is a sanitized preview. A description update replaces the whole description, so obtain the intended full text before updating it.
  • Other Graph lists generally default to 25 items and allow at most 50 per call. Follow a returned continuation with the same connection and filters. File search accepts only complete results of at most 50 hits; narrow a larger query.
  • Existing file detail/search tools return metadata. Search exposes a drive ID and item ID only when Microsoft returns them. An omitted item ID stays null; the search hit ID is not a substitute. Resolve the item through its drive's folder listing when needed.
  • Text contents support UTF-8 plain text, Markdown, CSV and JSON up to 1 MiB. PDF, DOCX, XLSX, PPTX and octet-stream downloads return complete base64 bytes, not extracted document text. Unsupported MIME types, invalid UTF-8, partial downloads and oversized files fail.
  • File uploads accept one filename segment, up to 128 KiB of UTF-8 text or 512 KiB of binary data. Binary uploads decode canonical base64 and send octet-stream bytes. These upload limits leave room for request encoding. Neither validates an Office/PDF format or extracts its text. Existing names fail instead of being overwritten. Folder creation makes one empty folder in an exact parent folder and also fails on an existing name instead of renaming it. Rename and same-drive move require the current strong etag; cross-drive moves are excluded.
  • File deletion moves one supported text/PDF/Office file to Microsoft's recycle bin. A fresh read must identify its file MIME and match the supplied strong etag, and the delete also uses that version. Folders, recursive tree deletion and unknown file types are refused. File sharing grants read access to 1–10 named email recipients who must sign in, preserves inherited access, and sends email only when send_invitation is true. For recipients outside your organization, set send_invitation to true; Microsoft can reject a direct grant to an outside recipient without an invitation. Check every result for error_code and error_message; sharing can partly succeed.
  • Outlook message content uses chunks of at most 8000 characters. Continue with pagination.next_page_token; restart if the message changes. Recipient lists are separate pages. Attachment metadata lists return items and pagination.next_page_token. Pass that token as cursor with the same message_id and limit until it is null. Pages contain up to 50 attachments ordered by exact attachment ID and refetch the full metadata collection within a 4 MiB response limit. If the collection changes, discard earlier pages and restart. If Microsoft returns a continuation link, listing fails rather than returning an incomplete collection. Attachment reads support complete file bytes up to 256 KiB; adding a draft attachment requires a file smaller than 256 KiB. Nested Outlook items and remote reference-attachment contents are excluded.
  • Deleting a message moves it to the mailbox's Deleted Items folder, where it can still be recovered in Outlook. It is not a permanent purge, and the returned message ID is the Deleted Items copy.
  • Deleting a Teams channel message or reply is Microsoft's soft delete. Teams shows it as deleted. Microsoft can restore a soft-deleted message, but Stackyapper does not offer undo. Microsoft decides whose messages the signed-in person may delete. Chat messages are not included.
  • Reply, reply-all and forward operations create drafts without sending them. Review the complete draft body and every recipient page before sending, then use changeKey from the current draft-state read. A successful send means accepted for processing, not proven delivery. Preparatory state reads do not lock a draft against concurrent changes; do not retry an uncertain send.
  • Calendar views require explicit UTC start and end timestamps ending in Z and at most 31 days. Free/busy supports up to 20 explicit addresses over at most 28 days. Event changes use explicit local dateTime and timeZone objects; rescheduling requires both start and end. Supplied attendee lists replace the existing list and can notify attendees. Canceling an organized event also notifies attendees. Current changeKey checks detect observed changes but do not make these writes atomic.
  • Personal To Do dates and reminders use a local dateTime without an offset and an explicit Windows timeZone, such as UTC or Central Standard Time. The schema lists the supported zones. Enabling a reminder requires both fields. To Do keeps a reminder on while it has a time, so disabling a reminder also clears its stored time and does not accept a new one. Omitted update fields remain unchanged; null clears a due/start date. To Do writes have no documented atomic version guarantee.
  • Teams channel reads return body previews of at most 8192 characters and explicit mention identities. Replies require their own paged read. More than 50 mentions fails rather than dropping names. Posting and replying send plain text; they do not create mentions or attachments. Team discovery covers direct membership and can omit shared-channel host teams.
  • The Excel worksheet read needs Microsoft's Files.ReadWrite permission. Stackyapper reads worksheet metadata with that tool, but the Microsoft grant itself permits broader access.
  • Sensitivity-label preview tools use Microsoft Graph beta. Microsoft does not support its beta API for production applications. Each preview request needs the explicit acknowledgement required by its schema.
  • Retention-label creation and updates are classified as destructive writes. They require the workspace to allow destructive operations as well as the selected Microsoft permission and confirmation.
  • Sending email, posting chat messages, changing calendar events, creating sharing links and changing retention labels require their separate selected permissions. Your AI client asks you to approve each of these calls. Changing retention labels, cancelling meetings and deleting items also ask for a one-time Stackyapper confirmation of that exact call. The task, directory and application read capabilities do not authorize those actions.

Application-access tool endpoints

Application access uses an administrator-approved Entra application for the connected Microsoft tenant. All 32 tools below are read-only. Microsoft Graph application permissions differ from delegated scopes even when their names match. Use application permissions for this connection.
Paths use https://graph.microsoft.com/v1.0. User-specific reads require an explicit user_id because this connection has no signed-in /me account. Configure the matching workload and grant its tools in Stackyapper as well as approving the Microsoft permission.
ToolMicrosoft APIApplication permissionsStackyapper inputs
m365_app_list_messagesGET /users/{appUserId}/messagesMail.Readquery, limit, cursor, user_id (required)
m365_app_get_messageGET /users/{appUserId}/messages/{message-id}Mail.Readmessage_id (required), user_id (required)
m365_app_list_mail_foldersGET /users/{appUserId}/mailFoldersMail.Readlimit, cursor, user_id (required)
m365_app_list_calendar_eventsGET /users/{appUserId}/calendarViewCalendars.Readstart (required), end (required), limit, cursor, user_id (required)
m365_app_get_eventGET /users/{appUserId}/events/{event-id}Calendars.Readevent_id (required), user_id (required)
m365_app_get_contactGET /users/{appUserId}/contacts/{contactId}Contacts.Readcontact_id (required), user_id (required)
m365_app_get_task_listGET /users/{appUserId}/todo/lists/{listId}Tasks.Read.Alllist_id (required), user_id (required)
m365_app_get_taskGET /users/{appUserId}/todo/lists/{listId}/tasks/{taskId}Tasks.Read.Alllist_id (required), task_id (required), user_id (required)
m365_app_get_planner_planGET /planner/plans/{planId}Tasks.Read.Allplan_id (required)
m365_app_get_fileGET /users/{appUserId}/drive/items/{item-id}Files.Read.Allitem_id (required), user_id (required)
m365_app_list_file_childrenGET /users/{appUserId}/drive/items/{itemId}/childrenFiles.Read.Allitem_id (required), limit, cursor, user_id (required)
m365_app_get_siteGET /sites/{siteId}Sites.Read.Allsite_id (required)
m365_app_get_site_listGET /sites/{siteId}/lists/{listId}Sites.Read.Allsite_id (required), list_id (required)
m365_app_get_channelGET /teams/{teamId}/channels/{channelId}Channel.ReadBasic.Allteam_id (required), channel_id (required)
m365_app_get_userGET /users/{user-id}User.Read.Alluser_id (required)
m365_app_get_groupGET /groups/{groupId}GroupMember.Read.Allgroup_id (required)
m365_app_get_directory_objectGET /directoryObjects/{objectId}Directory.Read.Allobject_id (required)
m365_app_get_applicationGET /applications/{applicationId}Application.Read.Allapplication_id (required)
m365_app_get_conditional_access_policyGET /identity/conditionalAccess/policies/{policyId}Policy.Read.Allpolicy_id (required)
m365_app_get_organizationGET /organization/{organizationId}Organization.Read.Allorganization_id (required)
m365_app_get_directory_auditGET /auditLogs/directoryAudits/{auditId}AuditLog.Read.All, Directory.Read.Allaudit_id (required)
m365_app_list_security_alertsGET /security/alerts_v2SecurityAlert.Read.Alllimit, cursor
m365_app_get_security_alertGET /security/alerts_v2/{alertId}SecurityAlert.Read.Allalert_id (required)
m365_app_get_managed_deviceGET /deviceManagement/managedDevices/{deviceId}DeviceManagementManagedDevices.Read.Alldevice_id (required)
m365_app_get_schoolGET /education/schools/{schoolId}EduRoster.Read.Allschool_id (required)
m365_app_get_external_connectionGET /external/connections/{connectionId}ExternalConnection.Read.Allconnection_id (required)
m365_app_get_booking_businessGET /solutions/bookingBusinesses/{businessId}Bookings.Read.Allbusiness_id (required)
m365_app_get_placeGET /places/{placeId}Place.Read.Allplace_id (required)
m365_app_get_printerGET /print/printers/{printerId}Printer.Read.Allprinter_id (required)
m365_app_list_consent_service_principalsGET /servicePrincipalsDirectory.Read.Alllimit, cursor
m365_app_list_delegated_permission_grantsGET /oauth2PermissionGrantsDirectory.Read.Alllimit, cursor
m365_app_list_service_principal_role_assignmentsGET /servicePrincipals/{servicePrincipalId}/appRoleAssignmentsDirectory.Read.Allservice_principal_id (required), limit, cursor
Consent Inventory returns pages of at most 50 service principals, delegated permission grants or application-role assignments. Follow each continuation. Permission and role identifiers remain IDs; these tools do not resolve all permission definitions or establish whether a grant was used. They do not change or remove consent.
The application connection excludes Planner mutations, Excel, OneNote, Teams chat, online-meeting and file-search tools. Planner application access reads a known plan's details. To Do application reads require Tasks.Read.All.

Planner Premium and Dataverse

Planner Premium connects separately to an authorized commercial-cloud Dataverse environment. The environment URL has the form https://<environment>.crm<region>.dynamics.com. Its API base is that origin followed by /api/data/v9.2. Each person signs in with access to that environment and the delegated resource permission <environment-origin>/user_impersonation. Microsoft Graph permissions do not provide Dataverse access.
The template offers the following 11 read operations. Imported tool names are assigned to the private app; the operation IDs below identify the template's API calls.
Operation IDDataverse APIPurpose
getWhoAmIGET /WhoAmIVerify this user can access the selected Dataverse environment
listPremiumProjectsGET /msdyn_projectsPreview up to 50 Premium projects
getPremiumProjectsGET /msdyn_projects({record_id})Read selected Premium projects fields by exact record UUID
listPremiumTasksGET /msdyn_projecttasksPreview up to 50 Premium tasks
getPremiumTasksGET /msdyn_projecttasks({record_id})Read selected Premium tasks fields by exact record UUID
listPremiumBucketsGET /msdyn_projectbucketsPreview up to 50 Premium buckets
getPremiumBucketsGET /msdyn_projectbuckets({record_id})Read selected Premium buckets fields by exact record UUID
listPremiumDependenciesGET /msdyn_projecttaskdependenciesPreview up to 50 Premium dependencies
getPremiumDependenciesGET /msdyn_projecttaskdependencies({record_id})Read selected Premium dependencies fields by exact record UUID
listPremiumAssignmentsGET /msdyn_resourceassignmentsPreview up to 50 Premium assignments
getPremiumAssignmentsGET /msdyn_resourceassignments({record_id})Read selected Premium assignments fields by exact record UUID
List operations require $top between 1 and 50, the template's fixed $select and its primary-key $orderby. They are previews: a short page does not prove a complete inventory, and this version cannot follow Dataverse continuations. Record reads require an exact UUID and the fixed $select. WhoAmI verifies access to the environment, not a Planner license or access to every table.
The environment must provide the relevant Project tables and grant the user access. Premium scheduling changes, custom-field collections and automatic upgrades of older imported templates are outside this version.
Microsoft documents Project schedule APIs and Dataverse Web API queries. Those APIs describe broader Microsoft capabilities; use the operations listed above for Stackyapper's initial Premium connection.

Diagnose access errors

Check the selected connection and tenant, then confirm the tool grant, workload, Microsoft permission and intended record ID. A matching permission does not replace a Microsoft role or license. Intune needs an active Intune license; Education needs an Education tenant; Universal Print needs eligible licensing. Security, Conditional Access and audit reads can require additional Microsoft roles. Premium needs an accessible Dataverse environment and table permissions.
Reconnect user sign-in when Microsoft consent is missing, expired or revoked. For application access, renew expired credentials and have an authorized administrator review the application's consent. Confirm a small read in Audit before attempting a write. Keep credentials, sign-in values and customer content out of support screenshots.