Delete the logs of one step
delete_step_logsRemoves stored output of a single CI step while keeping the step and pipeline intact. Use when a step printed a secret, then rotate the leaked credential.
Instructions
Deletes the stored output of a single step. The step and the pipeline stay, their logs do not. This is what you use when a step printed a secret. Two-step. Rotate the leaked credential as well — the log was readable until now, and deleting it does not un-read it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Pipeline number — the per-repository counter shown in the UI, not the global pipeline id. | |
| repo_id | Yes | Numeric repository id. lookup_repository turns an "owner/name" pair into one; list_repositories shows both. | |
| step_id | Yes | Numeric step id, from the workflows[].children[] of get_pipeline. | |
| confirm_token | No | Token from a previous call of this tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |