fetch_device_file
Retrieve a specific non-database file from an iOS AppGroup container using its relative path, such as Logs/lemoncore.log. Use it to read logs or binary assets on a connected iPhone.
Instructions
Fetches a specific non-database file from the iOS device's AppGroup container. ESM rewrite script packages are stored in runtime.sqlite; use get_rewrite_script_package instead of looking for RewriteScripts/*.js files.
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": {
"path": "<path>"
},
"name": "fetch_device_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The relative path inside the AppGroup container (for example Logs/lemoncore.log or Bodies/response.bin) |