Dawnrose

Docs Reference

MCP tools

These are the 76 tools your agent sees after it connects to https://app.dawnrose.ai/mcp. This page is generated from the server, so the names and parameters match what the agent gets. To connect an agent, see Connect your agent.

Most tools that take a service accept either its id (svc_…) or its name together with project, and default to the production environment. Tools marked Read-only change nothing. Tools marked Destructive require confirm: true and can’t be undone.

Account and projects

whoamiRead-only

Who am I

Your user, workspaces (with plan and role), available regions and the platform domain. Each region has a priceMultiplier: usage there costs that many times the standard prices (1 is the standard price). Call this first.

No parameters.

list_projectsRead-only

List projects

Projects you can access, with their environments and production services.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to all your workspaces.

create_project

Create project

Creates a project with a production environment. Returns the project and its environments.

ParameterTypeDescription
namestringrequiredProject name
workspacestringWorkspace id or slug (defaults to your first workspace)
regionstringRegion id from whoami.regions, e.g. eu-central. Usage is priced by the region’s priceMultiplier
descriptionstringUp to 2000 characters

get_projectRead-only

Get project

The project canvas for one environment: every service with status, domains, private hostname, volume, active/latest deployment, replica health, live metrics and pending (undeployed) changes, plus reference edges between services.

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringEnvironment name or id; defaults to production

update_project

Update project

Renames a project or changes its description.

ParameterTypeDescription
projectstringrequiredProject id or name
namestringUp to 100 characters
descriptionstringUp to 2000 characters

delete_projectDestructive

Delete project

Deletes a project, all environments, services, volumes and data.

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

create_environment

Create environment

Creates an environment. With from, duplicates services, variables (not sealed ones), volumes and domains from that environment (not deployed until you call deploy_changes).

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
namestringrequiredLowercased to letters, digits and dashes, up to 32 characters
fromstringEnvironment to duplicate, e.g. production

rename_environment

Rename environment

Renames an environment (not production).

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringrequiredCurrent name or id
namestringrequiredLowercased to letters, digits and dashes, up to 32 characters

delete_environmentDestructive

Delete environment

Deletes an environment and everything in it.

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringrequiredEnvironment name or id; production can’t be deleted
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

rename_workspace

Rename workspace

Renames a workspace. Needs the admin role.

ParameterTypeDescription
workspacestringWorkspace id or slug (defaults to your first)
namestringrequiredUp to 100 characters

Services

create_service

Create service

Creates a service from a GitHub repo (repo: owner/name or URL), a Docker image (image), or empty (deploy code later with deploy_files). Deploys immediately when it has a source unless deploy=false. For databases prefer deploy_template (postgres, mysql, redis, mongo).

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringEnvironment name or id; defaults to production
namestringUp to 60 characters; taken from the source when left out
repostringGitHub owner/repo or any git URL
branchstringGit branch; the repository’s default when left out
root_dirstringMonorepo subdirectory to build
imagestringDocker image, e.g. nginx:1.27
variablesobjectInitial variables; may use ${{ Other.VAR }}, ${{ shared.VAR }}, ${{ secret(32) }}
start_commandstringCommand that starts the app, up to 8 KB; detected when left out
portintegerPort the app listens on; PORT is injected automatically
healthcheck_pathstringPath that must answer before traffic moves to a new deploy, e.g. /health
cron_schedulestring5-field UTC crontab; turns the service into a cron job
replicasinteger0-50, within the plan’s limit
volume_mount_pathstringAttach a volume at this absolute path, e.g. /data
generate_domainbooleanCreate a public URL (default true for repo/image sources without cron)
deploybooleanDeploy right away (default true)

get_serviceRead-only

Get service

Full configuration and live status of a service.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.

update_service

Update service

Changes source, build or deploy settings. Pass null to clear a field. Changes apply on the next deploy (call deploy or deploy_changes). Builders: auto (zero-config detection), dockerfile, nixpacks. Changing what it runs needs confirm=true: the repo or image, and the start, pre-deploy, build and install commands.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
namestringNew service name
repostringGitHub owner/repo or any git URL to build from
branchstringGit branch; the repository’s default when left out
root_dirstringMonorepo subdirectory to build
imagestringDocker image to run instead of building
builder"auto" | "dockerfile" | "nixpacks"auto detects the stack; dockerfile or nixpacks force one
dockerfile_pathstringRelative to the source, up to 512 characters
build_commandstringUp to 8 KB; null clears it
install_commandstringUp to 8 KB; null clears it
watch_pathsstring[]Glob patterns; pushes touching no matching file are skipped
start_commandstringUp to 8 KB; null goes back to the detected one
pre_deploy_commandstringRuns once before each deploy (e.g. migrations); non-zero exit fails the deploy
portinteger1-65535; null detects it
replicasinteger0-50, within the plan’s limit
restart_policy"ON_FAILURE" | "ALWAYS" | "NEVER"When a stopped container is started again
max_retriesintegerRestarts after a crash before giving up, 0-100
healthcheck_pathstringStarts with /, up to 1024 characters; null turns the healthcheck off
healthcheck_timeoutintegerSeconds to wait for the healthcheck, 1-3600
cron_schedulestring5-field UTC crontab; null makes it a normal service again
cpu_limitnumbervCPU per replica
memory_limit_mbintegerPer replica, at least 64 and within the plan’s limit; null uses the default
sleep_after_secondsintegerServerless: stop after this many idle seconds, wake on request (0/null disables)
overlap_secondsintegerSeconds old and new replicas run side by side in a rollout, 0-600
draining_secondsintegerSeconds a stopping replica gets to finish its requests, 0-600
auto_rollbackbooleanRoll back by itself when a new deployment keeps crashing in its first 10 minutes (default true)
auto_deploybooleanDeploy on git push
confirmtrueMust be true for the destructive form of this call described above

delete_serviceDestructive

Delete service

Deletes a service, its deployments and its volume data. Its backups are kept for 7 days (backupsKeptUntil), for the workspace owner to restore into a new service.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

restart_service

Restart service

Restarts the running replicas of the active deployment (wakes it if sleeping).

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.

add_volume

Add volume

Attaches persistent storage at mount_path (one volume per service; not combinable with replicas). Redeploy to mount.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
mount_pathstringrequiredAbsolute path in the container, e.g. /data
size_gbnumberAt least 0.25, within the plan’s volume storage; default what is left, up to 5

update_volume

Resize volume

Grows a volume (size_gb, up to the plan’s limit) or changes its mount path. The new mount path applies on the next deploy.

ParameterTypeDescription
volume_idstringrequiredFrom get_service → volume.id
size_gbnumberGrows only, within the plan’s volume storage
mount_pathstringNew absolute path; applies on the next deploy

remove_volumeDestructive

Remove volume

Deletes a volume and all its data. The service must be stopped.

ParameterTypeDescription
volume_idstringrequiredVolume id (vol_…), from get_service
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

Variables

list_variablesRead-only

List variables

Service variables (or shared environment variables when shared is true). With resolved=true also returns resolved values, provided DAWNROSE_* variables and reference errors. Sealed values are never shown.

ParameterTypeDescription
servicestringService id (svc_…) or name; leave out when shared is true
projectstringProject id or name; needed with a service name or shared
environmentstringEnvironment name or id; defaults to production
sharedbooleanThe environment’s shared variables instead of a service’s
resolvedbooleanAlso return resolved values, DAWNROSE_* variables and reference errors

set_variables

Set variables

Upserts variables (null deletes a key). Reference syntax: ${{ Postgres.DATABASE_URL }}, ${{ shared.KEY }}, ${{ KEY }}; generators ${{ secret(32) }}, ${{ randomInt(1,100) }}. Use raw to paste a .env file. Set shared for environment-wide variables. Changes need a deploy. Deleting keys (null values or replace) needs confirm=true.

ParameterTypeDescription
servicestringService id (svc_…) or name; leave out when shared is true
projectstringProject id or name; needed with a service name or shared
environmentstringEnvironment name or id; defaults to production
sharedbooleanSet the environment’s shared variables instead of a service’s
variablesobjectName to value, null deletes; values up to 64 KB, at most 500 per scope
rawstring.env-formatted text
sealedstring[]Keys to seal (write-only afterwards)
replacebooleanRemove keys not present in this call
deploybooleanDeploy the service right after (service scope only)
confirmtrueMust be true for the destructive form of this call described above

Deploys

deploy

Deploy

Builds the service from its source (latest commit for repos) and rolls it out with zero downtime. Set wait=true to block until it is live or failed (returns log tail on failure).

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
messagestringShown with the deployment, up to 1000 characters
waitbooleanBlock until it is live or failed, up to 15 minutes

deploy_files

Deploy files

Uploads source files you wrote and deploys them (like dawn up). Include a Dockerfile, or a package.json / requirements.txt / go.mod / index.html for zero-config builds. The app must listen on $PORT. Max 20 MB total; use encoding=base64 for binary files. Replacing what a running service runs needs confirm=true.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
filesobject[]requiredAt most 10,000 files and 20 MB in all; relative paths up to 1024 characters and 40 levels deep
messagestringShown with the deployment, up to 1000 characters
waitbooleanBlock until it is live or failed, up to 15 minutes
confirmtrueMust be true for the destructive form of this call described above

deploy_changes

Deploy pending changes

Deploys every service in the environment whose settings or variables changed since its last deploy (the staged-changes banner).

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringEnvironment name or id; defaults to production
messagestringShown with the deployment, up to 1000 characters

redeploy

Redeploy

Re-runs a deployment’s image with the current variables (no rebuild).

ParameterTypeDescription
deployment_idstringrequiredDeployment id (dep_…)

rollback

Rollback

Restores the image, settings and variables of an earlier deployment and deploys it. Undeployed changes it replaces are listed in discards; they come back if the rollback fails.

ParameterTypeDescription
deployment_idstringrequiredDeployment id (dep_…)

cancel_deployment

Cancel deployment

Cancels a queued or building deployment.

ParameterTypeDescription
deployment_idstringrequiredDeployment id (dep_…)

remove_deploymentDestructive

Stop deployment

Stops and removes a deployment’s containers (takes the service offline if it was active).

ParameterTypeDescription
deployment_idstringrequiredDeployment id (dep_…)
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

list_deploymentsRead-only

List deployments

Recent deployments of a service, newest first.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
limitinteger1-200; default 10

get_deploymentRead-only

Get deployment

Status and details of one deployment.

ParameterTypeDescription
deployment_idstringrequiredDeployment id (dep_…)

wait_for_deploymentRead-only

Wait for deployment

Blocks until the deployment is live, failed or cancelled (max timeout 1800s). On failure includes the last log lines and what to do next.

ParameterTypeDescription
deployment_idstringrequiredDeployment id (dep_…)
timeout_secondsintegerAt most 1800; default 600

Stacks and repositories

detect_stackRead-only

Detect stack

Reads the repository’s docker-compose file. When it builds the repo’s own code, returns every service it defines (apps, databases mapped to Dawnrose templates, other repos run via ghcr.io images), how they connect, what is skipped and which variables need values. null means deploy the repo as one service.

ParameterTypeDescription
repostringrequiredowner/repo
branchstringGit branch; the repository’s default when left out

deploy_stack

Deploy stack

Creates and deploys every service detect_stack found (databases first, variables wired to them) in one environment. Set the variables listed under missing afterwards.

ParameterTypeDescription
repostringrequiredGitHub owner/repo
branchstringGit branch; the repository’s default when left out
projectstringrequiredProject id (prj_…) or name
environmentstringEnvironment name or id; defaults to production

list_github_reposRead-only

List GitHub repos

Repositories you can deploy (requires GitHub connected).

ParameterTypeDescription
querystringOnly repositories whose owner/name contains this

list_github_branchesRead-only

List GitHub branches

Branches of a repository (owner/name), to pick one to deploy.

ParameterTypeDescription
repostringrequiredowner/name

Functions

create_function

Create function

Creates a one-file service and deploys it: TypeScript (index.ts, Node 22) or Python (main.py). Without a schedule it is an HTTP function that must listen on $PORT and gets a URL; with schedule (5-field UTC crontab) it runs as a job and exits. Leave code out for a starter you can edit. No package installs: use a repo or deploy_files for dependencies.

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringEnvironment name or id; defaults to production
namestringService name; function, or job with a schedule, when left out
runtime"typescript" | "python"Default typescript
codestringThe whole file, up to 256 KB; a starter when left out
schedulestring5-field UTC crontab; runs as a job instead of serving HTTP

get_functionRead-only

Get function code

Returns the code, runtime and schedule of a function service.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.

update_function

Update function

Replaces the code of a function service (and optionally its schedule; empty string removes it) and deploys it. Changing the code or the schedule needs confirm=true.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
codestringrequiredThe whole new file, up to 256 KB
schedulestring5-field UTC crontab; null or an empty string removes it
confirmtrueMust be true for the destructive form of this call described above

Templates and backups

list_templatesRead-only

List templates

One-click stacks: databases (postgres, mysql, redis, mongo) and apps (wordpress, n8n, …).

ParameterTypeDescription
querystringMatches id, name, description, tags and category; all when left out

deploy_template

Deploy template

Adds a template’s services (wired together with references, volumes and domains) to an environment and deploys them.

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringEnvironment name or id; defaults to production
templatestringrequiredTemplate id from list_templates, e.g. postgres

list_backupsRead-only

List backups

Backups of a database or volume and the backup schedule.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.

create_backup

Back up now

Takes an encrypted backup to S3 storage (native dump for databases, tarball for volumes).

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.

configure_backups

Configure backups

Turns scheduled backups on/off and sets retention (GFS). Turning them off needs confirm=true.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
enabledbooleanrequiredScheduled backups on or off; on needs a plan that includes backups
schedulestringCron expression (UTC), at most once an hour
keep_lastintegerLatest backups to keep, 0-60
keep_dailyintegerDaily backups to keep, 0-60
keep_weeklyintegerWeekly backups to keep, 0-60
keep_monthlyintegerMonthly backups to keep, 0-60
confirmtrueMust be true for the destructive form of this call described above

restore_backupDestructive

Restore backup

Restores a backup into the running service, overwriting current data.

ParameterTypeDescription
backup_idstringrequiredBackup id (bak_…), from list_backups
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

delete_backupDestructive

Delete backup

Deletes a backup from storage.

ParameterTypeDescription
backup_idstringrequiredBackup id (bak_…), from list_backups
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

Networking and domains

generate_domain

Generate domain

Creates a public https URL on the platform domain. target_port defaults to the port the app listens on.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
target_portintegerContainer port, 1-65535; default the port the app listens on

add_custom_domain

Add custom domain

Attaches your domain (or wildcard *.example.com). Returns the DNS records to create; then call verify_domain. Certificates are issued automatically.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
hostnamestringrequirede.g. app.example.com, or *.example.com for every subdomain
target_portintegerContainer port, 1-65535; default the port the app listens on
wildcardbooleanAlso serve every subdomain; adds a DNS-01 CNAME to create

verify_domain

Verify domain

Checks the TXT ownership record and activates the domain.

ParameterTypeDescription
domain_idstringrequiredDomain id (dom_…), from get_service or add_custom_domain

update_domain

Update domain

Changes which container port a domain routes to.

ParameterTypeDescription
domain_idstringrequiredDomain id (dom_…), from get_service or add_custom_domain
target_portintegerrequired1-65535; null routes to the port the app listens on

remove_domainDestructive

Remove domain

Detaches a domain from its service.

ParameterTypeDescription
domain_idstringrequiredDomain id (dom_…), from get_service or add_custom_domain
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

configure_domain_dnsDestructive

Set up a custom domain’s DNS in Cloudflare

Adds the CNAME and verification records for a custom domain in the workspace’s connected Cloudflare account (DNS only), then verifies it. This changes the company’s real DNS: only when the user asked for it. Fails with cloudflare_not_connected if the user hasn’t connected Cloudflare; ask them to do it in the dashboard (it needs their API token).

ParameterTypeDescription
domain_idstringrequiredDomain id (dom_…), from get_service or add_custom_domain
overwritebooleanReplace an existing record at that name that points somewhere else. Only when the user confirmed that record can go.
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

enable_tcp_proxyDestructive

Enable TCP proxy

Exposes a non-HTTP port (e.g. a database) publicly on host:port. Database templates fill *_PUBLIC_URL from it. Needs confirm=true, like disable_tcp_proxy.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
target_portintegerrequiredContainer port to expose, e.g. 5432
confirmtruerequiredMust be true. Opens this port to the whole internet: only when the user asked for it.

disable_tcp_proxyDestructive

Disable TCP proxy

Closes the public TCP port.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

Shells and commands

open_shellDestructive

Open shell

Opens a shell inside a running replica that stays open between calls, like the dashboard’s terminal: cd, exported variables, an activated virtualenv and background processes carry over. Run commands with run_in_shell, then close_shell. Closes by itself after 30 minutes unused. For a single command, exec_command is simpler.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
replicastringReplica id; defaults to the first running one
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

run_in_shellDestructive

Run in shell

Runs a command in a shell from open_shell and returns its output, exit code and the directory it ended in. Commands get no stdin (use flags like -y). If it is still running at timeout_seconds you get the output so far and done=false; call again without a command to keep waiting.

ParameterTypeDescription
shellstringrequiredShell id from open_shell
commandstringOmit to keep waiting for the previous command
timeout_secondsintegerDefault 60, max 600
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

close_shell

Close shell

Closes a shell and stops everything still running in it.

ParameterTypeDescription
shellstringrequiredShell id from open_shell

exec_commandDestructive

Run command

Runs a shell command inside a running replica, returns exit code and output. Good for migrations, inspecting files, psql.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
commandstringrequiredShell command, up to 64 KB
timeout_secondsinteger1-600; default 60
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

http_request

HTTP request to service

Sends an HTTP request straight to a running replica over the private network — use it to verify a deploy works. Returns status, headers and body (truncated at 20 KB). Methods other than GET and HEAD can change the app’s data, so they need confirm=true.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
pathstringDefault /
methodstringLetters only, default GET
headersobjectRequest headers
bodystringRequest body as text
portinteger1-65535; default the port the app listens on
confirmtrueMust be true for the destructive form of this call described above

run_cron

Run cron now

Triggers a cron service immediately.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.

list_cron_runsRead-only

List cron runs

Past runs of a cron service with their exit codes and times.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.

Logs and metrics

get_build_logsRead-only

Build & deploy logs

Logs of a deployment’s build (phase=build) and rollout (phase=deploy).

ParameterTypeDescription
deployment_idstringrequiredDeployment id (dep_…)
phase"build" | "deploy"Both when left out
tailintegerLast N lines, 1-20,000; default 200
searchstringOnly lines containing this, ignoring case

get_runtime_logsRead-only

Runtime logs

Application logs (stdout/stderr) of the service. Filter syntax: text, "phrase", @level:error, @replica:0, @attr:value for JSON logs, -negation, OR.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
filterstringFilter expression, e.g. @level:error -healthcheck
tailintegerLast N lines, 1-5000; default 200
sincestringISO timestamp
deployment_idstringOnly this deployment (dep_…)

search_logsRead-only

Search environment logs

Runtime logs across all services in an environment. Use @service:name to narrow.

ParameterTypeDescription
projectstringrequiredProject id (prj_…) or name
environmentstringEnvironment name or id; defaults to production
filterstringFilter expression; @service:name narrows to one service
tailintegerLast N lines, 1-3000; default 200

get_http_logsRead-only

HTTP logs

Recent requests through the edge proxy: method, path, status, latency.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
statusstringe.g. 500 or 5xx
pathstringOnly requests whose path contains this
limitinteger1-2000; default 50

get_metricsRead-only

Metrics

CPU, memory, network and HTTP stats (avg/max/last) plus a compact time series.

ParameterTypeDescription
servicestringrequiredService id (svc_…) or service name. When using a name also pass project.
projectstringProject id (prj_…) or name; needed when service is a name.
environmentstringEnvironment name or id. Defaults to production.
minutesintegerWindow, default 60

Alerts and notifications

create_alert

Create alert

Notifies the workspace’s channels when a metric stays above a threshold (percent) for duration_seconds.

ParameterTypeDescription
workspacestringWorkspace id; the project’s, or your first, when left out
servicestringOnly this service (id or name); every service when left out
projectstringProject id or name; needed with a service name
metric"cpu" | "memory" | "http_5xx"requiredcpu and memory as a share of the limit; http_5xx as a share of requests
thresholdnumberrequiredPercentage, above 0 and at most 100
duration_secondsintegerHow long it must stay above, 60-86400; default 300

list_alertsRead-only

List alerts

The workspace’s metric alerts.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to your first

delete_alertDestructive

Delete alert

Deletes a metric alert.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to your first
alert_idstringrequiredAlert id (mon_…), from list_alerts
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

add_notification_channel

Add notification channel

Sends deploy/crash/alert/usage notifications to email, Slack, Discord or a webhook. config: {to:[emails]} | {webhookUrl} | {url, secret?}.

ParameterTypeDescription
workspacestringWorkspace id; defaults to your first
namestringrequiredUp to 100 characters
type"email" | "slack" | "discord" | "webhook"requiredWhere notifications go
configobjectrequiredemail: {to: [up to 50 addresses]}; slack or discord: {webhookUrl}; webhook: {url, secret?}; up to 8 KB
eventsstring[]Event names, e.g. deploy.failed or service.crashed; every event when left out

list_notification_channelsRead-only

List notification channels

Where the workspace’s notifications go, and the events each channel gets.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to your first

update_notification_channel

Update notification channel

Renames a channel, changes its events or config, or turns it on or off. Changing config, where notifications go, needs confirm=true.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to your first
channel_idstringrequiredChannel id (nch_…), from list_notification_channels
namestringUp to 100 characters
eventsstring[]Replaces the channel’s event list
configobjectSame shape as in add_notification_channel
enabledbooleanTurn the channel on or off
confirmtrueMust be true for the destructive form of this call described above

test_notification_channel

Test notification channel

Sends a test message to a channel.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to your first
channel_idstringrequiredChannel id (nch_…), from list_notification_channels

delete_notification_channelDestructive

Delete notification channel

Stops sending notifications to a channel.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to your first
channel_idstringrequiredChannel id (nch_…), from list_notification_channels
confirmtruerequiredMust be true. This action is destructive and cannot be undone.

notify_user

Message the user

Shows a message in the user’s Dawnrose dashboard (toast + activity feed), optionally highlighting a service. Use it to report progress or ask the user to look at something.

ParameterTypeDescription
messagestringrequiredUp to 2000 characters
level"info" | "success" | "warning" | "error"Default info
projectstringProject id or name to attach it to; this, service or workspace is needed
servicestringService to highlight (id or name); pass project with a name
workspacestringWorkspace id or slug, for a message about the whole workspace

Team

list_membersRead-only

List members

People in the workspace with their roles, and pending invites. Inviting, removing and changing roles happens in the dashboard only; send the user there.

ParameterTypeDescription
workspacestringWorkspace id or slug; defaults to your first

Activity and usage

get_activityRead-only

Activity

Audit log: who (user or AI agent) changed what.

ParameterTypeDescription
projectstringOnly this project (id or name)
workspacestringWorkspace id, used when project is left out
limitinteger1-1000; default 30

get_usageRead-only

Usage & billing

Current period usage, costs, credits, plan limits.

ParameterTypeDescription
workspacestringWorkspace id; defaults to your first