action microsoft_get_list { label: "Get list" description: "Fetch a SharePoint list, including its columns when expanded." provider: microsoft method: GET path: "/v1.0/sites/{site_id}/lists/{list_id}" scopes: ["Sites.Read.All"] input: @json { { "type": "object", "required": ["site_id", "list_id"], "additionalProperties": false, "properties": { "site_id": { "type": "string", "description": "Site id." }, "list_id": { "type": "string", "description": "List id or list title." }, "$expand": { "type": "string", "description": "Related data to include, e.g. columns." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "displayName": { "type": "string" }, "name": { "type": "string" }, "webUrl": { "type": "string" }, "columns": { "type": "array", "items": { "type": "object" } }, "list": { "type": "object" } } } } }