Configure app request limits
limits_setChange one app's HTTP request limits (body size, header, read, and idle timeouts) in a single registry transaction; the app's node restarts to apply them.
Instructions
Change only one app's HTTP request limits in a single registry transaction. Keeps target, access, routes, health, preserve_host, the guest gate and the enrolled node; works on apps with guest links, where add is refused. The app's node restarts to apply new limits: open connections and in-flight uploads end and guests must reopen their link. The call returns before the restart; a written change reports node_restarting true, so check url or status before telling anyone to retry. Omitted fields keep their stored value; an empty string returns that limit to its default (32MiB body, 10s header, 30s read, 60s idle). max_body unlimited requires unlimited_ack true. HTTP MCP requires the current portal owner for a routed app, checked in the write transaction. Owner scope only. Over HTTP MCP, a change to a public app (open Funnel, a lapsed Funnel that keeps its public acknowledgement, or guest links), including one that makes an app public or removes it, needs the current portal owner when one is configured or a home gateway is on, checked in the write transaction (access_request_owner_required).
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": {
"app": "<app>"
},
"name": "limits_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| max_body | No | Size such as 4GiB, or unlimited; empty means the 32MiB default. | |
| idle_timeout | No | Keep-alive idle duration; empty means 60s. | |
| read_timeout | No | Body inactivity duration; empty means 30s. | |
| unlimited_ack | No | Acknowledge max_body unlimited. | |
| header_timeout | No | Duration; empty means 10s. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| changed | Yes | ||
| message | No | ||
| request_limits | Yes | ||
| node_restarting | Yes | True when the change was written and the daemon is running: the app's node restarts, guests must reopen their link; check url or status before asking anyone to retry. False with no daemon running (the limits apply when it starts). |