Get upload limits
get_limitsRetrieve BrewPage API limits for request size, per-type sizes/counts/TTLs, site ZIP/file constraints, and profile or token TTL caps before publishing content.
Instructions
Get the current BrewPage limits (GET /api/limits): request size; per type (html, json, kv, files, sites) max size, counts and TTL default/maximum; profileMaxTtlDays (TTL cap for a token in a profile); site ZIP expansion, path and name lengths, allowed file extensions and skipped system files. Sizes are bytes, TTLs days. The answer always has reach: profile only when the owner token is active in a profile, else token (also with no token). With a usable owner token also ownerMaxTtlDays.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_limits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ownerToken | No | Owner token from create. Default: env BREWPAGE_OWNER_TOKEN (local server only). |