Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Retry Pipeline With Expressions
HARNESS_RETRY_PIPELINE_WITH_EXPRESSIONSRetry a previous Harness pipeline execution from selected stages with optional runtime input YAML and expression values. Supports failed parallel-group stage selection, execution notes and asynchronous plan creation. Returns the new execution ID and initial details without waiting for completion.
Rollback Service
HARNESS_ROLLBACK_SERVICETrigger a Harness service rollback using its instance key and infrastructure mapping identifier. Optionally specify organization and project scope. Returns whether rollback was triggered, a result message, and the rollback plan execution ID when available; inspect rollbackTriggered for the outcome.
Rollback Service to Environment
HARNESS_ROLLBACK_SERVICE_TO_ENVIRONMENTTrigger a Harness service rollback in a specific environment, optionally selecting infrastructure, artifact, and chart version. Returns whether the rollback was triggered and its pipeline execution ID when available; triggering does not mean the rollback has completed.
Rollback Targets Batch
HARNESS_ROLLBACK_TARGETS_BATCHTrigger rollback for multiple service and environment targets in the connected Harness account, using the latest pipeline execution group per target. Returns individual target outcomes and triggered/failed totals. A target failure does not fail the entire batch; inspect rollbackTriggered and message for each result.
Set Stable Template Version
HARNESS_SET_STABLE_TEMPLATE_VERSIONMark an existing Harness template version as stable at account scope. Optionally specify a Git branch, remote parent template context, and a comment.
Update Environment
HARNESS_UPDATE_ENVIRONMENTUpdate an existing Harness environment's definition, type, name, tags, or YAML at account, organization, or project scope. Supply the identifier and scope of the existing environment.
Update environment Git metadata
HARNESS_UPDATE_ENVIRONMENT_GIT_METADATAUpdate the Git metadata of an existing remote Harness environment and return its identifier. Supply the environment's scope and the connector reference, repository name, or file path to update.
Update Environment Group
HARNESS_UPDATE_ENVIRONMENT_GROUPUpdate an existing Harness environment group by identifier using its YAML definition. Optionally supply organization, project, color, conditional-update entity tag, and Git update selectors. For Git updates, provide last_object_id from the entity GET response. Returns the updated group and linked environments.
Update Execution Notes
HARNESS_UPDATE_EXECUTION_NOTESUpdate the notes for a Harness pipeline execution in a project.
Update Infrastructure
HARNESS_UPDATE_INFRASTRUCTUREUpdate an existing Harness infrastructure definition by identifier using its complete YAML specification. Optional fields supply organization, project, environment reference, display details, tags, provider type, and service discovery settings. Returns the updated infrastructure with available validity, discovery, and governance evaluation results.
Update Infrastructure Git Metadata
HARNESS_UPDATE_INFRASTRUCTURE_GIT_METADATAUpdate Git metadata for an existing remote Harness infrastructure in an environment. Optionally supply organization, project, Git connector, repository name, and definition file path. Returns the updated infrastructure identifier when supplied by Harness.
Update Input Set
HARNESS_UPDATE_INPUT_SETUpdate an existing Harness pipeline input set using its complete replacement YAML definition. Specify its organization, project, pipeline, and input set identifier. Supports Git branch, commit, and entity-version controls. Returns the saved input set and validity details.
Update Input Set Git Metadata
HARNESS_UPDATE_INPUT_SET_GIT_METADATAUpdate Git metadata for an existing remote Harness pipeline input set. Specify its organization, project, pipeline, and input set identifier, with optional connector reference, repository name, and file path. Returns the updated input set identifier when supplied by Harness.
Update Organization
HARNESS_UPDATE_ORGANIZATIONUpdate settings of an existing Harness organization in the connected account. Optionally supply If-Match to check the organization version.
Update Overlay Input Set
HARNESS_UPDATE_OVERLAY_INPUT_SETUpdate an existing Harness pipeline overlay input set with its complete replacement YAML definition. Specify the organization, project, pipeline, and overlay input set identifier. Supports Git branch, commit, and entity-version controls. Returns the saved overlay and validity details.
Update Pipeline
HARNESS_UPDATE_PIPELINEUpdate a Harness pipeline by identifier using its complete YAML definition. Supports Git-synced updates, optimistic concurrency, dynamic executions, and public access settings.
Update Pipeline Git Metadata
HARNESS_UPDATE_PIPELINE_GIT_METADATAUpdate Git metadata for a remote Harness pipeline in the specified organization and project. Optionally set its connector reference, repository name, and file path. Returns the identifier of the updated pipeline.
Update Pipeline Trigger
HARNESS_UPDATE_PIPELINE_TRIGGERUpdate an existing Harness pipeline trigger from replacement YAML in an organization and project, optionally setting its executor identity and a conditional entity tag. Returns saved trigger details and any validation errors.
Update Pipeline Trigger From YAML
HARNESS_UPDATE_PIPELINE_TRIGGER_FROM_YAMLUpdate an existing Harness pipeline trigger with a complete replacement YAML definition in an organization and project. Supports a conditional entity tag and returns saved trigger details and validation diagnostics. To supply an executor identity separately, use Update Pipeline Trigger.
Update Project
HARNESS_UPDATE_PROJECTUpdate a Harness project's details, including its name, description, color, enabled modules, and tags. Optionally supply the project version in if_match for optimistic concurrency control.