graph_list_shared_files
Lists files that others have shared with you via Microsoft Graph. Use next_link paging to retrieve additional results; Teams chat attachments require resolving their share link instead.
Instructions
List files other people have shared with the user.
Teams chat attachments do not show up here, so use graph_resolve_share_link on the attachment contentUrl instead. Only $top is passed because sharedWithMe does not support $select or $skip reliably, so page with next_link instead.
Args: top: Maximum number of items to return (default 25). 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_shared_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| next_link | No | ||
| include_next_link | No |