Connections
connectionsChange connections (the connect link itself comes from connections_read connect: show it to the user VERBATIM, a one-time browser step), choose the Search Console, Analytics, Ads or Business Profile property, test or disconnect, and set publishing, sitemaps, market, plan language, IndexNow and vendor keys (confirm: true where the user must say yes). Checking what is connected is connections_read. Scoped to the connected site; no domain parameter needed. Cost: FREE - reads stored status and changes settings, no AI credits. Actions that stage changes on the site (set_publish_settings, set_sitemaps, set_indexing, set_vendor_key) are not available on this workspace's plan (they need the agents:act scope); every staged change requires human approval in SEOmatic. Actions: select_property (use this property / account (property) or these listings (locations); replacing a set one needs confirm: true. gsc without a Google sign-in: after the owner added SEOmatic's user email (status orAddUserEmail) as a user on their Search Console property, call it with no property and it connects; needs source); test (test the site connection with its stored credentials); shopify_recheck (Shopify's Check again: after the owner approved the permissions on Shopify (needsYou step shopify_permission), re-read them; held fixes are released when every one is there); disconnect (remove a source: cms deletes the site connection, a Google source revokes the user's own grant (confirm: true after the user's yes); needs source); set_market (set the search market (locationCode + languageCode from market); needs locationCode, languageCode); set_plan_language (choose the language the plan is read in (a code from plan_language, or "auto"); needs planLanguage).
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": {
"action": "<action>"
},
"name": "connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which operation to run. Each action, and the parameters it needs, is listed in the tool description. | |
| apiKey | No | set_vendor_key: the key the user gave in this conversation (optional for indexnow: one is generated). | |
| intent | No | Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details. | |
| source | No | property_choices / select_property / disconnect: gsc (Search Console), ga4 (Analytics), google_ads (Ads), gbp (Business Profile); cms (the website connection) for disconnect only. | |
| confirm | No | select_property (replacing a set one) / disconnect / set_indexing: true only after the user explicitly said yes to this exact change. | |
| enabled | No | set_indexing: true turns instant indexing on, false off. | |
| property | No | select_property: gsc the property siteUrl (omit it to connect the property the owner added SEOmatic's user email to), ga4 the propertyId, google_ads the customerId (from property_choices). | |
| provider | No | set_vendor_key: whose key this is. | |
| locations | No | select_property, gbp only: the listing location names to use (empty = none). | |
| integration | No | check only: the one source to check. | |
| keyLocation | No | set_vendor_key, indexnow only: a custom key-file URL. | |
| sitemapUrls | No | set_sitemaps: the FULL list of http(s) sitemap URLs to keep (max 20; empty clears). | |
| collectionId | No | set_publish_settings: the CMS collection or table id. | |
| connectionId | No | test / disconnect (cms) / publish_settings / set_publish_settings: the connection id; omit for this workspace's site connection. | |
| fieldMapping | No | set_publish_settings: CMS field ids for title, content, slug, excerpt, featuredImage (required in it) and metaTitle, metaDescription (optional). | |
| integrations | No | connect only: the sources to offer - cms (website/CMS), gsc (Google Search Console), ga4 (Google Analytics), google_ads (Google Ads), gbp (Google Business Profile). Only the ones the question needs. | |
| languageCode | No | set_market: the market language code, e.g. "en". | |
| locationCode | No | set_market: the market location code (from market). | |
| planLanguage | No | set_plan_language: a language code from plan_language (e.g. "pl"), or "auto" to detect it from the site. | |
| collectionName | No | set_publish_settings: its display name. | |
| confirmDestructive | No | The same attestation as confirm, as the elicitation retry carries it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||