provider-get-item
Retrieve a Sitecore item by path, ID, query, or URI. Use it to fetch content details, fields, version, language, or database for inspection.
Instructions
Gets a Sitecore item by path, ID, Sitecore query or URI.
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": "provider-get-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to retrieve (e.g. {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}). Supply exactly one of path, id, query or uri. | |
| uri | No | The URI of the item to retrieve (e.g. sitecore://master/home). Supply exactly one of path, id, query or uri. | |
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| path | No | The path of the item to retrieve (e.g. /sitecore/content/Home). Supply exactly one of path, id, query or uri. | |
| query | No | The Sitecore query to execute (e.g. /sitecore/content/home/*/*). Supply exactly one of path, id, query or uri. | |
| fields | No | Extra Sitecore field names to include, e.g. ['Title']. Ignored when full is true. | |
| version | No | The version of the item to retrieve | |
| database | No | The database containing the item. Defaults to master, and is also the drive an id, query or uri resolves against. | |
| language | No | The language of the item to retrieve |