headroom_grep
Search cached raw CCR payloads by regex or keyword to locate matches and surrounding context without loading the full text.
Instructions
Regex or keyword search inside a cached raw CCR payload without loading the full 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": {
"hash": "<hash>",
"pattern": "<pattern>"
},
"name": "headroom_grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | CCR hash ID or ccr://<hash> URI. | |
| pattern | Yes | Regular expression or keyword to match. | |
| max_matches | No | ||
| context_lines | No | ||
| case_sensitive | No |