rlm_start
Start an RLM exploration session to search or analyze a codebase directory with a query, returning session limits and available functions for controlled exploration.
Instructions
Start an RLM exploration session. Returns session_id, metadata, limits, and available functions. Set include_guidance=true to include strategy/example coaching text.
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": {
"path": "<path>",
"query": "<query>"
},
"name": "rlm_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the directory to explore | |
| query | Yes | What you want to find or analyze | |
| max_llm_calls | No | Maximum model calls (llm_query, rlm_recurse, and evidence gate) for this session | |
| include_guidance | No | Include strategy/example guidance text in the response (larger payload) | |
| include_metadata | No | Scan directory and include file counts/types in response (default false for faster startup) | |
| max_memory_bytes | No | Maximum in-memory bytes retained for this session | |
| max_output_chars | No | Max characters per execute output | |
| max_execute_calls | No | Maximum rlm_execute calls for this session | |
| execution_timeout_seconds | No | Per-rlm_execute timeout in seconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |