MIME / content-type sniff
mime_sniffGuess Content-Type from a filename extension and/or magic bytes (base64 snippet) or text peek. Returns confidence and which signal won. No file stored. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mime_sniff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | optional text body to peek | |
| filename | No | optional filename with extension | |
| bytesBase64 | No | optional base64 of the first bytes (≤64 KB decoded) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||