MCPOutils MCP/Emplacements/bulk_edit_locations

bulk_edit_locations

Writelocations:write

Apply profile patches, publisher overrides, tag changes and optional immediate Google publishing to many locations. Without async: up to 100 are applied now (up to 1,000 IDs accepted; the overflow comes back as skipped_over_limit, never treat that as done), and content checks hold the whole batch. With async: true: up to 50,000 locations run as one background job and the call returns { jobId, total, status: "queued" } at once, never completion; follow it with get_location_bulk_edit_job. In a job a location content checks would hold is skipped (content_checks_held), not written — or, when the hold comes after part of the edit was saved (at the Google push, or at a publisher override's checks), succeeded with content_checks_held_saved: changed, but not fully applied or published; report those so the user can review them in a batch of 100 or fewer. All targets must be accessible before anything is written or queued. Requires Clients access.

Paramètres
locationIdsstring[]obligatoire
patchobjectfacultatif
overridesobjectfacultatif
googleobjectfacultatif
facebookobjectfacultatif
appleobjectfacultatif
bingobjectfacultatif
addTagsstring[]facultatif
removeTagsstring[]facultatif
publishbooleanfacultatif
asyncbooleanfacultatif
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "bulk_edit_locations",
    "arguments": {
      "locationIds": [
        "string"
      ]
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.