Reference

lessly_get_deployment

Fetch the status and metadata of a single deployment.

Tool

lessly_get_deployment

Fetch the status and metadata of a single deployment.

Behavior

Returns
{ deployment_id: string, state: 'queued' | 'building' | 'deploying' | 'ready' | 'failed' | 'canceled', commit_sha: string, commit_message: string, environment: string, url: string, started_at: string, finished_at: string }

Arguments

Name Type Required Description
deployment_id string Id returned by lessly_deploy or lessly_list_deployments.

Try it

Check the status of deployment dpl_8x2k.

When to use

Fetch the state, metadata, and URL of a single deployment. For a list of recent deployments, use lessly_list_deployments instead. Returns: { deployment_id, state: 'queued'|'building'|'deploying'|'ready'|'failed'|'canceled', commit_sha, commit_message, environment, url, started_at, finished_at }. Use to poll a deployment kicked off with wait=false.

Example

Ask your agent something like this:

Check the status of deployment dpl_8x2k.

The agent will invoke lessly_get_deployment with these arguments:

json
{
  "deployment_id": "dpl_8x2k"
}

Esc

Start typing to search the docs.

navigate select