Estimate Base64 payload size
bpj_estimate_base64_sizeCalculate padded Base64 length, wrapping overhead and whether the encoded payload fits a byte budget.
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": {
"bytes": "<bytes>",
"wrapperBytes": "<wrapperBytes>",
"budgetBytes": "<budgetBytes>"
},
"name": "bpj_estimate_base64_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| budgetBytes | Yes | ||
| wrapperBytes | Yes |