harness_update
Update any supported Harness resource by specifying its type, ID, and updated body. Use a Harness URL to auto-extract identifiers, simplifying the process.
Instructions
Update an existing Harness resource. You can pass a Harness URL to auto-extract identifiers. Response includes openInHarness link to the updated resource when applicable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_type": "<resource_type>",
"resource_id": "<resource_id>",
"body": "<body>"
},
"name": "harness_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_type | Yes | The type of resource to update | |
| resource_id | Yes | The identifier of the resource to update | |
| url | No | A Harness UI URL — org, project, resource type, and ID are extracted automatically | |
| body | Yes | The updated resource definition body | |
| org_id | No | Organization identifier (overrides default) | |
| project_id | No | Project identifier (overrides default) | |
| params | No | Additional identifiers (e.g. pipeline_id for triggers, version_label for templates). |