identify_file_type
Identify file type by analyzing magic numbers or file signatures from hex or base64 encoded data.
Instructions
Identify file type based on magic numbers/file signatures
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": {
"data": "<data>",
"format": "<format>"
},
"name": "identify_file_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Hex data or base64 data of file header | |
| format | Yes | Format of the input data |