oc_testdisk
Run forensic disk-recovery commands in an engagement workspace to inspect partitions, recover lost files, or repair filesystems using argv tokens without shell parsing.
Instructions
Run testdisk from the OpenCyber forensics toolkit. The container executes testdisk directly with the supplied argv tokens; shell parsing is never used. Runs from the selected engagement namespace; use relative paths for engagement artifacts.
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>",
"arguments": "<arguments>"
},
"name": "oc_testdisk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| arguments | Yes | ||
| engagement_id | Yes | ||
| working_directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||