graph_list_contacts
Lists a user's saved Outlook contacts from a selected or default folder, with paging options for large contact collections.
Instructions
List the user's saved Outlook contacts.
Args: top: Maximum number of contacts to return (default 25, maximum 50). folder_id: Contact folder ID. Empty lists the default contacts folder. skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. compact: Whether to return only the identifying fields instead of the full record (default false). Use it to page through large collections cheaply. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "graph_list_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| skip | No | ||
| compact | No | ||
| folder_id | No | ||
| next_link | No | ||
| include_next_link | No |