detect_file_type
Identifies whether a file is an ELF, PE, Mach-O binary, APK, JAR, or unknown by checking its magic bytes.
Instructions
Identify whether a file is an ELF, PE, Mach-O binary, APK, JAR, or unknown, by magic bytes.
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": "detect_file_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |