check_media
Check a file against a platform without storing it. With convert, also says whether conversion can fix it.
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": {
"target": "<target>"
},
"name": "check_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Seconds the URL stays valid, 3600-604800, default 86400. | |
| target | Yes | Platform the file is for. | |
| convert | No | Fix what fails the platform rules by cropping or padding and re-encoding. | |
| filename | No | ||
| source_url | No | Public http(s) URL to fetch the file from. | |
| data_base64 | No | The file, base64-encoded (max 10 MB). Use source_url for larger files. |