Extension For
extension_forGet the file extension(s) for a MIME type, e.g. "image/jpeg" -> ["jpg","jpeg"]. Keyless, offline.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mime": "image/jpeg"
},
"name": "extension_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime | Yes | A MIME type, e.g. "application/pdf". |