export_csv
Exports Google Maps leads to an Excel-ready CSV file, computing scores for any lead that lacks one before writing.
Instructions
Write leads to a CSV file on the machine running the server (UTF-8 with BOM, opens in Excel). Scores are computed for leads that lack one. Path must end in .csv; relative paths resolve against MLS_OUTPUT_DIR or the server working directory. Default: leads-.csv.
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": {
"leads": "<leads>"
},
"name": "export_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Output file path ending in .csv | |
| leads | Yes |