lookup_mime_types
Look up the MIME type for a file extension or find file extensions for a given MIME type. Supports both extension-to-mime and mime-to-extension lookups.
Instructions
Look up MIME types for file extensions
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": {
"input": "<input>"
},
"name": "lookup_mime_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | File extension (e.g., 'txt') or MIME type (e.g., 'text/plain') | |
| lookupType | No | Lookup direction |