oc_workspace_read
Reads a UTF-8 text file from an engagement workspace, using offset and bounded byte ranges to inspect large files in controlled chunks.
Instructions
Read a UTF-8 text file from the OpenCyber engagement workspace. Returns at most max_bytes (default 1 MiB); a bounded read reports total_bytes, next_offset, and a continuation. Set max_bytes=0 for the whole file.
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": {
"engagement_id": "<engagement_id>",
"path": "<path>"
},
"name": "oc_workspace_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| offset | No | ||
| max_bytes | No | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||