MCPFerramentas MCP/Localizações/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.

Parâmetros
locationIdsstring[]obrigatório
patchobjectopcional
overridesobjectopcional
googleobjectopcional
facebookobjectopcional
appleobjectopcional
bingobjectopcional
addTagsstring[]opcional
removeTagsstring[]opcional
publishbooleanopcional
asyncbooleanopcional
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "bulk_edit_locations",
    "arguments": {
      "locationIds": [
        "string"
      ]
    }
  }
}
Exemplo de resposta
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.