harness_delete
Delete a Harness resource by resource type and ID, or extract identifiers from a Harness URL. This action is destructive and permanent.
Instructions
Delete a Harness resource. You can pass a Harness URL to auto-extract identifiers. This is destructive and cannot be undone.
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>"
},
"name": "harness_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_type | Yes | The type of resource to delete | |
| resource_id | Yes | The identifier of the resource to delete | |
| url | No | A Harness UI URL — org, project, resource type, and ID are extracted automatically | |
| org_id | No | Organization identifier (overrides default) | |
| project_id | No | Project identifier (overrides default) | |
| params | No | Additional identifiers for nested resources (e.g. pipeline_id for triggers, environment_id for infrastructure). |