gradeNot graded
list_editable_contentAnswer
List the current page regions that Xyle can edit.
View tool JSON
{
"name": "list_editable_content",
"kind": "answer",
"impl": "imperative",
"description": "List the current page regions that Xyle can edit.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/demo/"
}list_groupsAnswer
List source-backed repeating Groups and their safe items.
View tool JSON
{
"name": "list_groups",
"kind": "answer",
"impl": "imperative",
"description": "List source-backed repeating Groups and their safe items.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/demo/"
}get_contentAnswer
Read the current content of one Xyle editable region.
View tool JSON
{
"name": "get_content",
"kind": "answer",
"impl": "imperative",
"description": "Read the current content of one Xyle editable region.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The editable Xyle node id."
}
},
"required": [
"id"
]
},
"page": "/demo/"
}list_changesAnswer
List the current unsaved Xyle changes.
View tool JSON
{
"name": "list_changes",
"kind": "answer",
"impl": "imperative",
"description": "List the current unsaved Xyle changes.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/demo/"
}apply_change_setAction
Apply several safe Xyle edits as one reviewable and undoable task.
View tool JSON
{
"name": "apply_change_set",
"kind": "act",
"impl": "imperative",
"description": "Apply several safe Xyle edits as one reviewable and undoable task.",
"inputSchema": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "A short name for this editing task."
},
"changes": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text",
"link",
"asset",
"formatting",
"sectionVisibility",
"moveSection"
]
},
"id": {
"type": "string",
"description": "The current Xyle node id."
},
"targetId": {
"type": "string",
"description": "The sibling section target id."
},
"before": {
"type": "boolean",
"description": "Move before the target when true."
},
"visible": {
"type": "boolean",
"description": "Whether the section should be shown."
},
"text": {
"type": "string",
"description": "Replacement text."
},
"href": {
"type": "string",
"description": "A safe URL or path."
},
"src": {
"type": "string",
"description": "A safe image URL or path."
},
"alt": {
"type": "string",
"description": "Alternative text for an image."
},
"format": {
"type": "string",
"enum": [
"bold",
"italic",
"underline",
"strikethrough",
"paragraph",
"heading-1",
"heading-2",
"heading-3",
"heading-4",
"heading-5",
"heading-6",
"unordered-list",
"ordered-list"
]
}
},
"required": [
"type",
"id"
]
}
}
},
"required": [
"label",
"changes"
]
},
"page": "/demo/"
}undo_change_setAction
Undo every current Xyle change created by one editing task.
View tool JSON
{
"name": "undo_change_set",
"kind": "act",
"impl": "imperative",
"description": "Undo every current Xyle change created by one editing task.",
"inputSchema": {
"type": "object",
"properties": {
"changeSetId": {
"type": "string",
"description": "The Xyle change-set id."
}
},
"required": [
"changeSetId"
]
},
"page": "/demo/"
}revert_changeAction
Revert one current unsaved Xyle Change to its original state.
View tool JSON
{
"name": "revert_change",
"kind": "act",
"impl": "imperative",
"description": "Revert one current unsaved Xyle Change to its original state.",
"inputSchema": {
"type": "object",
"properties": {
"changeId": {
"type": "string",
"description": "The Xyle change id."
}
},
"required": [
"changeId"
]
},
"page": "/demo/"
}update_linkAction
Update the text or safe destination of one Xyle link.
View tool JSON
{
"name": "update_link",
"kind": "act",
"impl": "imperative",
"description": "Update the text or safe destination of one Xyle link.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The editable Xyle link id."
},
"text": {
"type": "string",
"description": "Optional replacement link text."
},
"href": {
"type": "string",
"description": "Optional safe URL or path."
}
},
"required": [
"id"
]
},
"page": "/demo/"
}replace_assetAction
Replace one Xyle image source and optionally update its alt text.
View tool JSON
{
"name": "replace_asset",
"kind": "act",
"impl": "imperative",
"description": "Replace one Xyle image source and optionally update its alt text.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The current Xyle image id."
},
"src": {
"type": "string",
"description": "A safe image URL or site path."
},
"alt": {
"type": "string",
"description": "Optional alternative text."
}
},
"required": [
"id",
"src"
]
},
"page": "/demo/"
}update_mediaAction
Safely update one image source, crop, focus point, or alt text.
View tool JSON
{
"name": "update_media",
"kind": "act",
"impl": "imperative",
"description": "Safely update one image source, crop, focus point, or alt text.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The current Xyle image id."
},
"src": {
"type": "string",
"description": "A safe image URL or site path."
},
"alt": {
"type": "string",
"description": "Alternative text for the image."
},
"fit": {
"type": "string",
"enum": [
"cover",
"contain"
]
},
"crop": {
"type": [
"object",
"null"
],
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
}
}
},
"focus": {
"type": [
"object",
"null"
],
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"required": [
"id"
]
},
"page": "/demo/"
}get_seoAnswer
Read the current page SEO metadata.
View tool JSON
{
"name": "get_seo",
"kind": "answer",
"impl": "imperative",
"description": "Read the current page SEO metadata.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/demo/"
}update_seoAction
Update one safe page SEO metadata field for human review.
View tool JSON
{
"name": "update_seo",
"kind": "act",
"impl": "imperative",
"description": "Update one safe page SEO metadata field for human review.",
"inputSchema": {
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"title",
"description",
"canonical",
"ogTitle",
"ogDescription",
"ogImage"
]
},
"value": {
"type": "string"
}
},
"required": [
"field",
"value"
]
},
"page": "/demo/"
}update_formattingAction
Apply safe inline formatting, paragraph/heading styles, or a safe single-item list style to one Xyle text region.
View tool JSON
{
"name": "update_formatting",
"kind": "act",
"impl": "imperative",
"description": "Apply safe inline formatting, paragraph/heading styles, or a safe single-item list style to one Xyle text region.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The current Xyle text or link id."
},
"format": {
"type": "string",
"enum": [
"bold",
"italic",
"underline",
"strikethrough",
"paragraph",
"heading-1",
"heading-2",
"heading-3",
"heading-4",
"heading-5",
"heading-6",
"unordered-list",
"ordered-list"
]
}
},
"required": [
"id",
"format"
]
},
"page": "/demo/"
}update_listAction
Group contiguous sibling text blocks into one safe ordered or bulleted list.
View tool JSON
{
"name": "update_list",
"kind": "act",
"impl": "imperative",
"description": "Group contiguous sibling text blocks into one safe ordered or bulleted list.",
"inputSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "string"
},
"description": "The current contiguous sibling text block ids in document order."
},
"format": {
"type": "string",
"enum": [
"unordered-list",
"ordered-list"
]
}
},
"required": [
"ids",
"format"
]
},
"page": "/demo/"
}set_section_visibilityAction
Show or hide one safe Xyle section for human review.
View tool JSON
{
"name": "set_section_visibility",
"kind": "act",
"impl": "imperative",
"description": "Show or hide one safe Xyle section for human review.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The current Xyle section id."
},
"visible": {
"type": "boolean",
"description": "Whether the section should be shown."
}
},
"required": [
"id",
"visible"
]
},
"page": "/demo/"
}move_sectionAction
Move one safe Xyle section before or after a sibling section.
View tool JSON
{
"name": "move_section",
"kind": "act",
"impl": "imperative",
"description": "Move one safe Xyle section before or after a sibling section.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The section to move."
},
"targetId": {
"type": "string",
"description": "The sibling section to move relative to."
},
"before": {
"type": "boolean",
"description": "Move before the target when true; after when false."
}
},
"required": [
"id",
"targetId",
"before"
]
},
"page": "/demo/"
}duplicate_sectionAction
Duplicate one safe Xyle section immediately after itself.
View tool JSON
{
"name": "duplicate_section",
"kind": "act",
"impl": "imperative",
"description": "Duplicate one safe Xyle section immediately after itself.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The safe section to duplicate."
}
},
"required": [
"id"
]
},
"page": "/demo/"
}delete_sectionSensitive Action
Delete one safe Xyle area from the draft. A human must publish the change.
View tool JSON
{
"name": "delete_section",
"kind": "transact",
"impl": "imperative",
"description": "Delete one safe Xyle area from the draft. A human must publish the change.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The safe area to delete."
}
},
"required": [
"id"
]
},
"page": "/demo/"
}duplicate_group_itemAction
Duplicate one source-backed item in a safe Xyle Group.
View tool JSON
{
"name": "duplicate_group_item",
"kind": "act",
"impl": "imperative",
"description": "Duplicate one source-backed item in a safe Xyle Group.",
"inputSchema": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"description": "The source-backed Group id."
},
"itemId": {
"type": "string",
"description": "The source-backed Group item id."
}
},
"required": [
"groupId",
"itemId"
]
},
"page": "/demo/"
}list_layout_optionsAnswer
List the safe layout options for one validated area.
View tool JSON
{
"name": "list_layout_options",
"kind": "answer",
"impl": "imperative",
"description": "List the safe layout options for one validated area.",
"inputSchema": {
"type": "object",
"properties": {
"targetId": {
"type": "string",
"description": "The safe section id."
}
},
"required": [
"targetId"
]
},
"page": "/demo/"
}change_layoutAction
Change a validated area to Above and below, Text left, or Image left as one reversible draft action.
View tool JSON
{
"name": "change_layout",
"kind": "act",
"impl": "imperative",
"description": "Change a validated area to Above and below, Text left, or Image left as one reversible draft action.",
"inputSchema": {
"type": "object",
"properties": {
"targetId": {
"type": "string",
"description": "The safe area id."
},
"outcome": {
"type": "string",
"enum": [
"above-and-below",
"text-left",
"image-left"
]
}
},
"required": [
"targetId",
"outcome"
]
},
"page": "/demo/"
}move_group_itemAction
Move one source-backed Group item before or after another source-backed item.
View tool JSON
{
"name": "move_group_item",
"kind": "act",
"impl": "imperative",
"description": "Move one source-backed Group item before or after another source-backed item.",
"inputSchema": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"description": "The source-backed Group id."
},
"itemId": {
"type": "string",
"description": "The source-backed item to move."
},
"targetItemId": {
"type": "string",
"description": "The source-backed destination item."
},
"position": {
"type": "string",
"enum": [
"before",
"after"
]
}
},
"required": [
"groupId",
"itemId",
"targetItemId",
"position"
]
},
"page": "/demo/"
}insert_paragraphAction
Split one paragraph or heading at a text offset. The new block is a paragraph.
View tool JSON
{
"name": "insert_paragraph",
"kind": "act",
"impl": "imperative",
"description": "Split one paragraph or heading at a text offset. The new block is a paragraph.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The editable Xyle text node id."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Zero-based text offset at which to create the paragraph."
}
},
"required": [
"id",
"offset"
]
},
"page": "/demo/"
}insert_line_breakAction
Insert a line break in one multiline Xyle text block at a text offset.
View tool JSON
{
"name": "insert_line_break",
"kind": "act",
"impl": "imperative",
"description": "Insert a line break in one multiline Xyle text block at a text offset.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The editable Xyle text node id."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Zero-based text offset at which to insert the line break."
}
},
"required": [
"id",
"offset"
]
},
"page": "/demo/"
}create_linkAction
Turn a text range into a safe link in one Xyle text block.
View tool JSON
{
"name": "create_link",
"kind": "act",
"impl": "imperative",
"description": "Turn a text range into a safe link in one Xyle text block.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The editable Xyle text node id."
},
"start": {
"type": "integer",
"minimum": 0,
"description": "Zero-based start offset of the linked text."
},
"end": {
"type": "integer",
"minimum": 1,
"description": "Zero-based exclusive end offset of the linked text."
},
"href": {
"type": "string",
"description": "The safe link destination."
}
},
"required": [
"id",
"start",
"end",
"href"
]
},
"page": "/demo/"
}update_textAction
Replace the text in one current Xyle editable region.
View tool JSON
{
"name": "update_text",
"kind": "act",
"impl": "imperative",
"description": "Replace the text in one current Xyle editable region.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The editable Xyle node id."
},
"text": {
"type": "string",
"description": "The replacement plain text."
}
},
"required": [
"id",
"text"
]
},
"page": "/demo/"
}