Google Search Console

Manage Search Console sitemaps

Submit or delete a sitemap for an enabled website. 1 credit per request sent to Google.

gsc_manage_sitemap

Jak používat

Používejte prostřednictvím připojeného AI asistenta.

Příklad volání nástroje

Kopírovat konfiguraci
{
  "name": "gsc_manage_sitemap",
  "arguments": {
    "property_id": "property-id-from-gsc-properties",
    "operation": "submit_sitemap",
    "sitemap_url": "https://example.com/sitemap.xml",
    "idempotency_key": "gsc-sitemap-example-001"
  }
}

Schéma vstupů

Kopírovat konfiguraci
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "property_id": {
      "type": "string",
      "minLength": 1
    },
    "operation": {
      "type": "string",
      "enum": [
        "submit_sitemap",
        "delete_sitemap"
      ]
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "sitemap_url": {
      "type": "string",
      "format": "uri"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128
    }
  },
  "required": [
    "property_id",
    "operation",
    "sitemap_url",
    "idempotency_key"
  ],
  "additionalProperties": false
}

Související nástroje