Back to tools

record_deployment

Record a new deployment event. Writes audit log and emits an event to the outbox.

Schema and Policy
{
  "name": "record_deployment",
  "description": "Record a new deployment event. Writes audit log and emits an event to the outbox.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "siteId": {
        "type": "string",
        "description": "Site ID being deployed"
      },
      "url": {
        "type": "string",
        "description": "Deployment URL"
      },
      "status": {
        "type": "string",
        "enum": [
          "building",
          "ready",
          "error",
          "canceled"
        ],
        "description": "Deploy status"
      },
      "gitRef": {
        "type": "string"
      },
      "commitMessage": {
        "type": "string"
      }
    },
    "required": [
      "siteId",
      "url",
      "status"
    ]
  },
  "category": "Deployments",
  "authRequired": true,
  "mutability": "write",
  "status": "auth_required"
}