Get Website CMS
get_website_cmsReads every connected website CMS: provider, site URL (the CMS's own address), the workspace website it publishes to (site: id and domain; one site per workspace publishes for now), status, publish mode (draft or live), each channel's collection and field mapping (including which provider that channel publishes to), the collections and fields Mark discovered (localized: true when the collection stores its title and slug per language, so submit_post needs a website post's language there), locales (the site's language codes, [] when it stores none), and a suggested mapping for each unmapped channel. mediaCollections lists the media collections Mark can read (search_cms_media and save_post take any of them; a website cover takes only the collection its cover field accepts, else mediaDestination); mediaDestination is where Mark uploads a website post's Mark images when it publishes (null: Mark uploads nothing). The API key is never returned. Connecting (site URL and key) happens in the Mark app only. Related: update_website_cms, submit_post, approve_posts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_website_cms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cms | Yes | ||
| appUrl | Yes |