Export Contacts to Local File
export_contactsExport all Microsoft 365 contacts, including every contact folder and field, to a local JSON file for reconciliation or bulk processing.
Instructions
Export every contact in the signed-in mailbox to a local JSON file and return its path. Covers the default Contacts folder and every contact folder beneath it, with all fields (emails, phones, addresses, categories, birthday, notes, folder path). Use this to reconcile or bulk-process contacts; use list_contacts or search_contacts to look one up.
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": "export_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_dir | No | Directory to write into (default: the system temp directory) |