Read Context Portion
rlm_read_contextRead specific sections of a context by character or line ranges. Examine targeted parts without loading the full context, enabling efficient processing of long inputs.
Instructions
Read a specific portion of the context.
Modes:
chars: Read by character offsets (start, end)
lines: Read by line numbers (start, end)
Use this to examine specific sections without loading the entire context.
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": "rlm_read_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End position (exclusive) | |
| mode | No | Read by character offsets or line numbers | chars |
| start | No | Start position (character offset or line number) | |
| context_id | No | Context identifier | main |
| session_id | No | Session ID |