rr_record
Records a failing or suspicious program run as an rr trace by running the given executable and arguments, then returns a trace ID and path for replay.
Instructions
Record a failing or suspicious program run with rr.
Pass the executable and each argument as separate array items. The command is executed directly, without a shell. Use the same build and inputs that reproduce the bug. Returns a trace_id and trace_path for replay_start.
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": {
"command": "<command>"
},
"name": "rr_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| timeout_seconds | No |