Get Context Info
rlm_get_context_infoRetrieve metadata, structure type, and content preview for a loaded context to assess its size and format before deciding how to process it.
Instructions
Get metadata and preview of a loaded context.
Returns:
Length, line count, word count
Detected structure type (json, csv, markdown, code, etc.)
Optional content preview
Use this to understand the context before deciding how to process it.
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_get_context_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_id | No | Context identifier | main |
| session_id | No | Session ID | |
| preview_length | No | Preview length in characters | |
| include_preview | No | Include content preview |