Get an item
get_itemAn item's metadata and data, or part of its data (pointer or path), at its current or an older version. Returns the etag to pass as ifMatch when writing a change based on what you read, and the guarded pointers whose values this token can't see. A version older than the plan keeps fails with ITEM_VERSION_NOT_RETAINED: read it from its event with get_event instead. 1 request, plus 1 the first time a list is used in a session (unless get_list was called).
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": {
"list": "<list>",
"item": "<item>"
},
"name": "get_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | The item: its id or alias value (a deleted item only by id) | |
| list | Yes | The list: its id or pathName | |
| path | No | A JSONPath selecting part of the data, e.g. $.tasks[*].title (instead of pointer) | |
| pointer | No | A JSON pointer (RFC 6901) into the item's data, e.g. /address/city or /scores/0. Leave out for the whole data | |
| version | No | An older version to read | |
| includeData | No | Include the data | |
| includeGuarded | No | Only when this server acts as an identity: include guarded values in the items that identity owns |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| etag | Yes | ||
| item | No |