generate_purge_file
Generate a CSV file to delete records by fetching those matching a filter, formatted for SF Import purge mode.
Instructions
Generate a purge/delete file for SF import.
Fetches records matching the filter and returns them with the correct key fields for deletion via SF import. Output includes CSV content ready for the SF Import tool's purge mode.
IMPORTANT: Review the records carefully before using for deletion.
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": {
"entity": "<entity>",
"filter_expr": "<filter_expr>"
},
"name": "generate_purge_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity to generate purge file for | |
| data_center | No | ||
| filter_expr | Yes | OData $filter to identify records to purge | |
| auth_user_id | No | ||
| auth_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||