pangolin_sites
Manage Pangolin sites by listing, creating, updating, deleting, approving, rejecting, restarting, and regenerating credentials; write actions require confirmation and support dry-run previews.
Instructions
pangolin_sites covers the sites toolset (11 operations). Auth header Authorization Bearer. Self-hosted Pangolin CE only. Writes need confirm:true and PANGOLIN_ALLOW_WRITES=true. Omit confirm for a dry-run preview. Actions: approve_site: POST /site/{siteId}/approve. Approve a pending site and approve (and enable when needed) its associated resources. create_org_site: PUT /org/{orgId}/site. Create a new site. delete_site: DELETE /site/{siteId}. Delete a site and all its associated data. get_org_pick_site_defaults: GET /org/{orgId}/pick-site-defaults. Return pre-requisite data for creating a site, such as the exit node, subnet, Newt credentials, etc. get_org_site: GET /org/{orgId}/site/{niceId}. Get a site by orgId and niceId. NiceId is a readable ID for the site and unique on a per org basis. get_site: GET /site/{siteId}. Get a site by siteId. list_org_sites: GET /org/{orgId}/sites. List all sites in an organization regenerate_re_key_site_secret: POST /re-key/{siteId}/regenerate-site-secret. Regenerate the credentials for a site. For newt sites a new secret is required; for wireguard sites a new public key is required. reject_site: POST /site/{siteId}/reject. Reject a pending site by deleting it and any associated resources that are still pending. restart_site: POST /site/{siteId}/restart. Restart a site. update_site: POST /site/{siteId}. Update a site.
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": {
"action": "<action>"
},
"name": "pangolin_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for the Pangolin operation. Secrets are redacted in output. | |
| query | No | OpenAPI query parameters. | |
| action | Yes | Pangolin operation to call. | |
| params | No | OpenAPI path parameters, such as orgId or siteId. | |
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. |