file_exists
Check whether a file or directory exists on an Android device via ADB, returning existence and directory status.
Instructions
Check whether a path exists on the device. Returns {exists, is_dir}.
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": {
"remote": "<remote>"
},
"name": "file_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | Yes | ||
| serial | No | ||
| as_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||