list_items
List items from a SharePoint list with OData filtering, sorting, field selection, and pagination tokens.
Instructions
List items from a SharePoint list with filtering and pagination
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": {
"listId": "<listId>"
},
"name": "list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | SharePoint site ID | |
| site | No | Known SharePoint site alias or canonical URL | |
| siteUrl | No | Canonical SharePoint site URL | |
| listId | Yes | SharePoint list ID | |
| filter | No | OData filter expression (e.g., "Title eq 'Example'") | |
| orderBy | No | Sort order (e.g., "Title", "Created desc") | Created desc |
| select | No | Comma-separated list of fields to return (e.g., "Title,Author,Created") | |
| expand | No | Comma-separated list of lookup fields to expand | |
| limit | No | Maximum number of items to return | |
| pageToken | No | Opaque pagination token from a previous response (Graph nextLink) |