Verktøyene lages fra REST-API-et: hvert verktøy er et endepunkt, med samme kontroller, samme feilkoder og samme aktivitetslogg som når du bruker CLI-en. Agenten ser bare verktøyene tillatelsene den fikk gir (se Agenter og MCP). Beskrivelsene er på engelsk, slik agentene ser dem.
Alle verktøyene tar også organisationId, for å jobbe i en annen av brukerens organisasjoner enn den tilkoblingen ble godkjent for. Det står ikke i tabellene under.
Se prosjekter 26
Tillatelsen projects:read: Apper, publiseringer, byggelogger, applogger, domener, navn på miljøvariabler og aktivitetsloggen.
An app with its latest deployments
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Whether an app is public, needs sign-in with the organisation's accounts in front of it, or signs people in itself (with its client id, issuer and redirect URIs)
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Which public addresses an app may reach, and what it tried to reach but was refused
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
The last 300 lines from the running app
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Status and build log of one deployment (the log is live while building)
| Argument | Type | Beskrivelse |
|---|
deploymentIdpåkrevd | string | The deployment's id |
The project's S3 bucket: name, endpoints, status, and use against the organisation's file quota
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
The repository linked to an app (GitHub or GitLab), or null
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Whether GitHub is set up, and the GitHub App installations connected to the caller's organisation
Ingen argumenter.
The GitLab connections of the caller's organisation, with the default GitLab address and the scope a token needs
Ingen argumenter.
Custom domains of one app
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
People outside the organisation invited to sign in to this app as guests, with their end date
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Every app and preview in the organisation with owner, department, data class, address, status, last deploy and last request
| Argument | Type | Beskrivelse |
|---|
owner | any | The owner's email |
dataClass | any | none, internal, personal or sensitive |
department | any | A department's name, or none |
Audit log of the caller's organisation, including staff actions
Ingen argumenter.
The database's tables and columns with the personal-data tag each has: name, contact, national_id (fødselsnummer), free_text, or none (not personal data). A column without a tag is treated as sensitive: query_database hides its values. Tags are set by people in the dashboard.
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
The organisation's departments, which apps belong to, with how many apps each has
Ingen argumenter.
Custom domains of every app in the caller's organisation
Ingen argumenter.
How the latest change to the app's variables rolled out, per environment: deploying, live, or failed with the error and the last lines from the app. A failed change was undone: the previous values are back.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
The app's environment variables per environment (production, preview): names and when they changed, never the values
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
environment | "production" | "preview" | "both" | |
Repositories the organisation's GitHub installations can access
Ingen argumenter.
GitLab projects the organisation's connections can link: those where the token's user has at least the Maintainer role
Ingen argumenter.
The organisation's groups from its identity provider (SCIM), with how many members each has, for limiting who may sign in to an app
Ingen argumenter.
Production deployments waiting for an owner's approval
Ingen argumenter.
The app's pull request previews with their address and latest deployment
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Projects with their apps, databases, file storage and storage use
Ingen argumenter.
The database's named restore points, newest first, with the period it can be restored to (window) and the base backups in it (backups). state is pending until the changes up to it are archived (a few minutes), ready while the backups reach it, expired once they no longer do, and unavailable while the database is being restored or is not ready. A change of state is sent on the realtime channel as a change to restore_point.
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
The signed-in user, the organisation in use (x-skybu-org, or the first one joined) and the organisations they can use here: every one they belong to, or only the one a connected app was approved for. limits names the projects and environments this key or connection is limited to (null: none)
Ingen argumenter.
Endre prosjekter 18
Tillatelsen projects:write: Lage prosjekter og databaser, legge til domener, sette miljøvariabler, koble repoer og bytte nøkler.
Add a custom domain. Prove you control it with a TXT record at _skybu-challenge.<domain>, then verify within 7 days, or it is removed and the hostname freed. At most 5 per app. A hostname held by a suspended domain is released to the new claimant.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
hostnamepåkrevd | string | |
Create an app from a GitHub repository or GitLab project and deploy the newest commit on its branch. Later pushes deploy too.
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
repopåkrevd | string | owner/repo on GitHub, or the project's full path on GitLab (group/subgroup/project) |
provider | "github" | "gitlab" | Where the repository is. Leave it out to find it among both; required when both have one with this name. |
branch | string | Pushes to this branch deploy to production |
rootDir | string | Build from this folder of the repository |
owner | string | The app's owner, when it has none yet |
department | string | The app's department, when it has none yet |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required when the app has no data class yet |
namepåkrevd | string | The app's name in the project |
kind | "server" | "static" | server (the default) runs the built image; static serves the files in staticDir from Skybu's shared web server |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site |
staticFallback | "404" | "index" | For a static app: 404 (the default) or index for single-page apps |
Create a Postgres database (CloudNativePG) in a project
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
namepåkrevd | string | |
supabase | object | Set up the database for an import from Supabase: roles anon, authenticated and service_role, and app roles that bypass row-level security the way Supabase's service_role key does |
Create a project
| Argument | Type | Beskrivelse |
|---|
namepåkrevd | string | |
Mark this moment with a name, for example before a migration, so the database can be restored to it later. Keeps up to 100 per database. Logged.
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
namepåkrevd | string | |
Invite someone outside the organisation to sign in to this app as a guest, until an optional end date (owners). They get an email; inviting again sends a new link.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
emailpåkrevd | string | The guest's email address; they sign in to Skybu with it |
until | object | The last day the guest may sign in (an ISO date or time); leave out for no end |
Link a GitHub repository or GitLab project: pushes to the branch deploy to production, pull and merge requests get previews
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
repopåkrevd | string | owner/repo on GitHub, or the project's full path on GitLab (group/subgroup/project) |
provider | "github" | "gitlab" | Where the repository is. Leave it out to find it among both; required when both have one with this name. |
branch | string | Pushes to this branch deploy to production |
rootDir | string | Build from this folder of the repository |
owner | string | The app's owner, when it has none yet |
department | string | The app's department, when it has none yet |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required when the app has no data class yet |
Remove a guest from this app (owners). Their sign-ins to the app are revoked.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
guestIdpåkrevd | string | The guest's id |
Remove a custom domain; it stops serving the app and its certificate is deleted
| Argument | Type | Beskrivelse |
|---|
domainIdpåkrevd | string | The domain's id |
New passwords for all three roles; the old ones stop working
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
A new access key for the project's bucket; the old one stops working and apps restart with the new one
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
Make an app public, require sign-in in front of it, let it sign people in itself (app), or follow the organisation's default (owners). For app, also its callback paths and refresh tokens
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
access | "inherit" | "public" | "members" | "app" | public: anyone with the address; members: Skybu asks for sign-in with the organisation's accounts in front of the app; app: the app signs people in itself with OpenID Connect (Sign in with your organisation), with SKYBU_OIDC_* variables; inherit follows the organisation |
signInCallbacks | string[] | For access app: the paths on the app's addresses Skybu may send people back to after sign-in (1 to 5; the first is SKYBU_OIDC_REDIRECT_URI). Default /auth/callback |
offlineAccess | boolean | For access app: give refresh tokens (scope offline_access), each good for 12 hours after sign-in. Off by default |
signInGroups | string[] | For members and app: only members in these groups (ids from GET /api/org/groups), or listed in signInPeople, may sign in. Empty or null: every member |
signInPeople | string[] | For members and app: members (user ids) who may sign in besides the groups. Empty or null with no groups: every member |
Choose how an app is hosted: as a server (the built image runs as a container) or as a static site (the files in staticDir are served by Skybu, no container). Applies from the next deploy. Previews follow their app.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
kind | "server" | "static" | server runs the built image as a container; static serves the files in staticDir from Skybu's shared web server (no container, no project memory) |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site, with index.html at its top |
staticFallback | "404" | "index" | For a static app: 404 answers unknown paths with the site's 404.html; index answers unknown paths without a file extension with /index.html (single-page apps) |
Set one or more variables (encrypted by OpenBao Transit) for production (the default), preview or both. The app restarts with the change; no new build. Follow it with list_env_rollouts: if the app does not start with the new values, the change is marked failed, the previous values come back and the running version keeps serving.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
variablespåkrevd | object | |
environment | "production" | "preview" | "both" | Previews get only preview values |
sensitive | boolean | Write-only: the app and its builds get the value, but no one can reveal it again; it can only be replaced |
Unlink the repository. Pushes no longer deploy, and the app's previews are deleted.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Remove a variable from production (the default), preview or both. The app restarts with the change; no new build. Follow it with list_env_rollouts: if the app does not start with the new values, the change is marked failed, the previous values come back and the running version keeps serving.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
namepåkrevd | string | |
environment | "production" | "preview" | "both" | |
Change an app's owner, department or data class (unset counts as sensitive). Previews follow their app.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
owner | string | The owner's email; must be a member of the organisation |
department | string | One of the organisation's departments, or null for none |
dataClass | "none" | "internal" | "personal" | "sensitive" | What data the app handles: none (no personal data), internal, personal or sensitive. Unset counts as sensitive. |
Check the TXT record. On success the domain gets a certificate and starts serving the app. Skybu re-checks verified domains daily: the TXT record or a CNAME to the app's address must stay, or after 3 days of failed checks the domain is suspended. Verifying a suspended domain that passes brings it back.
| Argument | Type | Beskrivelse |
|---|
domainIdpåkrevd | string | The domain's id |
Publisere apper 7
Tillatelsen deployments:write: Publisere nye versjoner av apper fra filer eller Git, rulle tilbake, og koble til forhåndsvisningenes databaser.
Get a one-time address to PUT the app folder to as a .tar.gz (Content-Type: application/gzip, at most 50 MB, within an hour), then deploy it with deploy_upload. For apps too large to send as files.
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
namepåkrevd | string | |
Deploy an app from its files, sent in the request. Creates the app on first deploy; returns the deployment to follow with get_deployment, which gives the address once it is live. For apps over a few MB, use create_upload instead.
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
namepåkrevd | string | |
kind | "server" | "static" | server runs the built image as a container; static serves the files in staticDir from Skybu's shared web server (no container, no project memory) |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site, with index.html at its top |
staticFallback | "404" | "index" | For a static app: 404 answers unknown paths with the site's 404.html; index answers unknown paths without a file extension with /index.html (single-page apps) |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required for a new app: what data it handles. Ask the user; never guess personal data away. |
department | string | Required for a new app when the organisation has departments (list_departments) |
owner | string | The owner's email; the signed-in user by default |
filespåkrevd | object[] | Every file of the app: source, package.json or requirements.txt, and a Dockerfile if it has one. Skybu detects how to build it (Railpack) or uses the Dockerfile. |
Deploy the newest commit on the linked branch now, without waiting for a push
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Deploy what was uploaded with create_upload. Creates the app on first deploy.
| Argument | Type | Beskrivelse |
|---|
uploadIdpåkrevd | string | The upload's id |
kind | "server" | "static" | server runs the built image as a container; static serves the files in staticDir from Skybu's shared web server (no container, no project memory) |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site, with index.html at its top |
staticFallback | "404" | "index" | For a static app: 404 answers unknown paths with the site's 404.html; index answers unknown paths without a file extension with /index.html (single-page apps) |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required for a new app: what data it handles. Ask the user; never guess personal data away. |
department | string | Required for a new app when the organisation has departments (list_departments) |
owner | string | The owner's email; the signed-in user by default |
Connection strings for a preview's own database. Every read is logged.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
numberpåkrevd | number | |
Replace a preview's database with a new empty one; the preview restarts against it
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
numberpåkrevd | number | |
Serve an earlier successful deployment again. When the organisation requires approval for the app, this asks the owners instead.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
deploymentIdpåkrevd | string | |
Lese data, maskert 1
Tillatelsen data:read: Spørringer som bare leser. Navn, fødselsnumre og e-post erstattes med koder, og felt uten merke skjules. Hver spørring logges.
Run a read-only SELECT against the database and get at most 200 rows with personal data replaced by codes, so an AI tool can look at real data without seeing who it is about. Columns tagged name, national_id or contact become PERSON_n, FNR_n, EPOST_n or TLF_n (the same value gets the same code within one answer). Columns tagged free_text or none are shown, with email addresses, fødselsnumre (recognised by their check digits) and, in free text, phone numbers replaced. A column without a tag is hidden as SKJULT; a computed column shows numbers and hides text. Runs as the read-only role, in a read-only transaction, for at most 5s. Masking is an extra layer, not a guarantee: a name in free text can slip through. Logged. Returns rows from the database with personal data replaced by codes; every call is written to the organisation's audit log.
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
sqlpåkrevd | string | |