Get SharePoint item attachments
List the files attached to a SharePoint list item (needs a SharePoint site session).
Command in the Microsoft 365 toolkit · id ooa.microsoft365/list_attachments · 3 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | sharepoint | A SharePoint site signed in to with Sign in to SharePoint site (also on premises); when given, access_token and site are not used (G3). |
| List | String | Yes | List id or display name. | |
| Item ID | String | Yes | Item id. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Columns: name, server_url. |
| names | List | The attachments' file names. |