detect_loops
Analyze a coding session to detect retry loops and return structured pattern insights for debugging.
Instructions
Run loop detection algorithms on a session and return detected loop patterns.
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": {
"session_id": "<session_id>"
},
"name": "detect_loops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| window_size | No | Events to analyze |