seo_import_csv
Import post SEO meta from inline CSV text or a local file to bulk-update WordPress post SEO fields, returning success and error row counts.
Instructions
Import post SEO meta from CSV in the seo_export_csv format (header row, then one row per post with at least 7 columns; export first and edit that). Give the CSV inline (csv) or as a local .csv path (csv_file). It is sent as the raw text/csv request body. Returns { success, errors } row counts.
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": {
"site": "<site>"
},
"name": "seo_import_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | CSV text including the header row | |
| site | Yes | Site id (see list_sites) | |
| csv_file | No | Absolute path to a local .csv file |