Read content types and blocks
get_schemaReturns the content types and blocks (components), so drafts you write are valid; call it before create_draft or update_draft. Without arguments it gives an overview: each content type and block with its key, name, description, what it may hold and its field keys. Call it again with the contentTypes and components you will write for their full field definitions, along with the Travel Orbit and Commerce Orbit sections. A field with showWhen only applies while the named field of the same type or block holds that value (or one of the listed values); leave it out otherwise, since it is not required and is not delivered. A link field takes { kind: "content", contentId: } to link to a page, which follows the page when it moves, or { kind: "url", href: "https://…" or "/path" } for an address. A slider or rating field takes a number within its validation min and max, on its step (a rating counts stars, in halves only with halfStars). A code field takes { language, code } with a language from its languages, and code as plain text. A palette field takes { name, hex } of one of its options, whose label is the name and value the hex. When the website is connected to Travel Orbit, the travel section describes the Trip, Trips, Destination and Departure field shapes, links to a trip, destination or guide ({ kind: "trip" | "destination" | "guide", travel: { id, name } }), the Travel blocks, the section blocks of the Trip, Destination and Guide page templates, and the templates themselves; use list_travel_items for the ids. When it is connected to Commerce Orbit, the commerce section describes the Product, Products and Collection field shapes and the Commerce blocks; use list_commerce_items for the ids.
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_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| components | No | Block keys from the overview to return in full, such as hero or text. | |
| contentTypes | No | Content type keys from the overview to return in full, such as page or article. |