get_content
Retrieve stored page snapshot content from a prior request, with optional substring filtering and before/after context lines.
Instructions
Get page snapshot content from a previous request (Phase 2: with diff support, grep-like context)
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": {
"ref_id": "<ref_id>"
},
"name": "get_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref_id | Yes | Reference ID from a previous request | |
| search_for | No | Optional substring to filter content | |
| after_lines | No | Number of context lines after match (like grep -A, default: 0) | |
| before_lines | No | Number of context lines before match (like grep -B, default: 0) | |
| reset_cursor | No | Reset diff cursor and return full content (default: false) |