List Sitecore child items
list_itemsFetches child items of a given Sitecore/XM Cloud parent, with optional template filtering. Returns key details like ID, name, path, and template.
Instructions
List the immediate children of a Sitecore / XM Cloud item. Optionally filter by template id. Returns id, name, path, template name and display name.
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": {
"parentId": "<parentId>"
},
"name": "list_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language/locale code, e.g. 'en' or 'en-US'. Defaults to 'en'. | en |
| parentId | Yes | The GUID of the parent item whose immediate children should be listed. | |
| templateId | No | Optional template GUID. When provided, only children of this template are returned. |