Skip to content

get_build

Inspect one saved Build by exact ID/name with safe source/image/registry and trusted-hook presence. Inspect configured_effects and copy its acknowledgement flags before run_build; it discloses possible hidden/concurrent dependent redeployments. Identify its actual Builder support or an explicit observation gap. Configured source/version/image and cached observed revision are separate. AWS/URL Builders are inspectable but unsupported for direct definition writes and Build execution. Saving/inspection does not prove a build or healthy deployment.

Availability

Available under the default capability policy

The instance’s tool selection and upstream Core permissions also apply. Some inputs require additional grants.

Effect annotations

  • readOnlyHint — true
  • destructiveHint — false
  • idempotentHint — true

Inputs

The registered schema gives field types, alternatives and declared bounds. The description and operator guides also cover checks applied at runtime.

id
Exact stable resource ID returned by a list tool. type "string" · pattern "^[0-9a-fA-F]{24}$"
name
Exact, case-sensitive name within this family; never interpreted as an ID. type "string" · minLength 1 · pattern "\\S"
Show input JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "id"
      ]
    },
    {
      "required": [
        "name"
      ]
    }
  ],
  "properties": {
    "id": {
      "description": "Exact stable resource ID returned by a list tool.",
      "pattern": "^[0-9a-fA-F]{24}$",
      "type": "string"
    },
    "name": {
      "description": "Exact, case-sensitive name within this family; never interpreted as an ID.",
      "minLength": 1,
      "pattern": "\\S",
      "type": "string"
    }
  },
  "type": "object"
}

Output

The registered output schema covers structured results and tool errors.

BuildDetail
builder, builder_id, builder_observation_error, cached_built_revision, cached_latest_revision, configured_effects, configured_version, definition, evidence_limit, id, name, state, template
AppError
candidates, correction, field, kind, message, operation, status
Show output JSON Schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "anyOf": [
    {
      "$ref": "#/$defs/BuildDetail"
    },
    {
      "$ref": "#/$defs/AppError"
    }
  ],
  "$defs": {
    "AppError": {
      "additionalProperties": false,
      "description": "Only application-owned messages and selected, nonsensitive metadata survive.",
      "properties": {
        "candidates": {
          "items": {
            "$ref": "#/$defs/Candidate"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "correction": {
          "type": [
            "string",
            "null"
          ]
        },
        "field": {
          "type": [
            "string",
            "null"
          ]
        },
        "kind": {
          "$ref": "#/$defs/ErrorKind"
        },
        "message": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "status": {
          "format": "uint16",
          "maximum": 65535,
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "kind",
        "message",
        "operation"
      ],
      "type": "object"
    },
    "BuildDetail": {
      "properties": {
        "builder": {
          "anyOf": [
            {
              "$ref": "#/$defs/DefinitionSummary2"
            },
            {
              "type": "null"
            }
          ]
        },
        "builder_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "builder_observation_error": {
          "anyOf": [
            {
              "$ref": "#/$defs/AppError"
            },
            {
              "type": "null"
            }
          ]
        },
        "cached_built_revision": {
          "type": [
            "string",
            "null"
          ]
        },
        "cached_latest_revision": {
          "type": [
            "string",
            "null"
          ]
        },
        "configured_effects": {
          "anyOf": [
            {
              "$ref": "#/$defs/BuildEffects"
            },
            {
              "type": "null"
            }
          ]
        },
        "configured_version": {
          "type": "string"
        },
        "definition": {
          "$ref": "#/$defs/DefinitionSummary"
        },
        "evidence_limit": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "template": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "template",
        "state",
        "builder_id",
        "configured_version",
        "cached_built_revision",
        "cached_latest_revision",
        "definition",
        "builder",
        "builder_observation_error",
        "configured_effects",
        "evidence_limit"
      ],
      "type": "object"
    },
    "BuildEffects": {
      "properties": {
        "acknowledgement": {
          "$ref": "#/$defs/ExpectedEffects"
        },
        "builder": {
          "$ref": "#/$defs/DefinitionSummary2"
        },
        "configuration_race": {
          "type": "string"
        },
        "definition": {
          "$ref": "#/$defs/DefinitionSummary"
        },
        "dependent_deployments": {
          "$ref": "#/$defs/DependentEffects"
        },
        "execution_authority": {
          "type": "string"
        },
        "server_selection_evidence": {
          "type": "string"
        },
        "version_policy": {
          "type": "string"
        }
      },
      "required": [
        "acknowledgement",
        "definition",
        "builder",
        "dependent_deployments",
        "version_policy",
        "server_selection_evidence",
        "configuration_race",
        "execution_authority"
      ],
      "type": "object"
    },
    "Candidate": {
      "additionalProperties": false,
      "description": "A bounded ambiguity hint, never a raw upstream resource.",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "DefinitionSummary": {
      "properties": {
        "auto_increment_version": {
          "type": "boolean"
        },
        "build_args_configured": {
          "type": "boolean"
        },
        "builder_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "configured_version": {
          "type": "string"
        },
        "image_name": {
          "type": "string"
        },
        "image_registries": {
          "items": {
            "$ref": "#/$defs/RegistrySummary"
          },
          "type": "array"
        },
        "image_tag": {
          "type": "string"
        },
        "include_commit_tag": {
          "type": "boolean"
        },
        "include_latest_tag": {
          "type": "boolean"
        },
        "include_version_tags": {
          "type": "boolean"
        },
        "pre_build_configured": {
          "type": "boolean"
        },
        "registries_complete": {
          "type": "boolean"
        },
        "registry_count": {
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "secret_args_configured": {
          "type": "boolean"
        },
        "source": {
          "$ref": "#/$defs/SourceSummary"
        },
        "webhook_enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "builder_id",
        "source",
        "configured_version",
        "auto_increment_version",
        "image_name",
        "image_tag",
        "image_registries",
        "registry_count",
        "registries_complete",
        "include_latest_tag",
        "include_version_tags",
        "include_commit_tag",
        "pre_build_configured",
        "build_args_configured",
        "secret_args_configured",
        "webhook_enabled"
      ],
      "type": "object"
    },
    "DefinitionSummary2": {
      "properties": {
        "builder_type": {
          "type": "string"
        },
        "ordered_server_ids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "server_count": {
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "server_ids_complete": {
          "type": "boolean"
        },
        "support_limit": {
          "type": "string"
        },
        "supported": {
          "type": "boolean"
        }
      },
      "required": [
        "builder_type",
        "supported",
        "ordered_server_ids",
        "server_count",
        "server_ids_complete",
        "support_limit"
      ],
      "type": "object"
    },
    "DependentDeployment": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "redeploy_on_build": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "redeploy_on_build"
      ],
      "type": "object"
    },
    "DependentEffects": {
      "properties": {
        "evidence_limit": {
          "type": "string"
        },
        "has_more": {
          "type": "boolean"
        },
        "observation_error": {
          "anyOf": [
            {
              "$ref": "#/$defs/AppError"
            },
            {
              "type": "null"
            }
          ]
        },
        "visible": {
          "items": {
            "$ref": "#/$defs/DependentDeployment"
          },
          "type": "array"
        }
      },
      "required": [
        "visible",
        "has_more",
        "observation_error",
        "evidence_limit"
      ],
      "type": "object"
    },
    "ErrorKind": {
      "description": "Stable public categories. No variant contains a raw upstream error.",
      "enum": [
        "invalid_arguments",
        "not_found",
        "ambiguous_target",
        "incomplete_resolution",
        "configuration",
        "authentication",
        "permission_denied",
        "timeout",
        "unreachable",
        "upstream",
        "invalid_response",
        "response_too_large",
        "capability_disabled",
        "unsupported_target",
        "stale_preview",
        "invalid_preview"
      ],
      "type": "string"
    },
    "ExpectedEffects": {
      "additionalProperties": false,
      "properties": {
        "dependent_redeployments_possible": {
          "description": "Must acknowledge possible hidden/concurrent dependent redeployments.",
          "type": "boolean"
        },
        "pre_build": {
          "type": "boolean"
        },
        "registry_pushes": {
          "type": "boolean"
        }
      },
      "required": [
        "pre_build",
        "registry_pushes",
        "dependent_redeployments_possible"
      ],
      "type": "object"
    },
    "RegistrySummary": {
      "properties": {
        "credential_reference_configured": {
          "type": "boolean"
        },
        "domain": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        }
      },
      "required": [
        "domain",
        "organization",
        "credential_reference_configured"
      ],
      "type": "object"
    },
    "SourceSummary": {
      "properties": {
        "configured_branch": {
          "type": "string"
        },
        "configured_commit": {
          "type": [
            "string",
            "null"
          ]
        },
        "configured_https": {
          "type": "boolean"
        },
        "credential_reference_configured": {
          "type": "boolean"
        },
        "custom_build_path_configured": {
          "type": "boolean"
        },
        "custom_dockerfile_path_configured": {
          "type": "boolean"
        },
        "kind": {
          "type": "string"
        },
        "linked_repo_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "provider": {
          "type": "string"
        },
        "repo": {
          "type": "string"
        },
        "selector_evidence": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "selector_evidence",
        "linked_repo_id",
        "repo",
        "provider",
        "configured_branch",
        "configured_https",
        "configured_commit",
        "credential_reference_configured",
        "custom_build_path_configured",
        "custom_dockerfile_path_configured"
      ],
      "type": "object"
    }
  }
}

Operator guides

All built-in tools