Get Variable
rlm_get_variableRetrieve a variable from a session by name, with optional session_id to target a specific session.
Instructions
Retrieve a variable from the session.
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": {
"name": "<name>"
},
"name": "rlm_get_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Variable name | |
| session_id | No | Session ID |