Ctx Get
ctx_getRetrieve a stored context chunk by ID and return it byte-identical to what was originally saved.
Instructions
Retrieve a stored chunk, byte-identical to what was originally stored.
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": {
"chunk_id": "<chunk_id>"
},
"name": "ctx_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunk_id | Yes | id returned by `ctx_store` in `chunk_ids` (int or its string form), or a `<sha12>#<idx>` ref from the anchor footer | |
| session_id | No | session to retrieve from (default: "default"); a chunk of another session is only readable after an explicit ctx_transfer | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||