Disable the app portal
portal_disableDisable the home portal to close portal and route listeners while preserving app services, grants, retained identities, and enrolled local node state.
Instructions
Disable the home portal. With gateway mode on, HTTP MCP also requires the current portal owner, checked in the registry write transaction; other callers receive access_request_owner_required. App services, grants, retained owner/admin identities and enrolled local node state remain. The running daemon closes the portal and route listeners. No remote device deletion or invites.
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": "portal_disable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| error | No | ||
| state | Yes | ||
| enabled | Yes | ||
| gateway | No | ||
| message | No | ||
| hostname | No | ||
| owner_revoked | No | Recorded owner that stays revoked; restore with portal enable naming that owner. | |
| owner_restored | No | Owner login whose revocation this enable cleared, because the call named that owner. | |
| unavailable_apps | No |