Check file numbers against upload rules
check_file_numbersCheck a file's size in bytes, pixels and type against a website's upload rules, without sending the file. Use when you already know the numbers (e.g. from the file's properties).
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": {
"rules_text": "<rules_text>"
},
"name": "check_file_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| format | No | jpg, png, webp or pdf | |
| height | No | ||
| rules_text | Yes | The website's rules as written | |
| file_size_bytes | No | Exact size in bytes |