finish_agent_run
Finishes a Working agent run as Done or Failed. Returns true when the run was finished, false when it was no longer Working - a person cancelled it, so stop working on it. Requires canEdit on the issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | The run's id, from list_agent_runs. | |
| state | Yes | Done when the work is finished, Failed when the agent gave up. | |
| reason | No | Why the run failed, max 4096 characters - kept with a Failed run, ignored for Done. Omit for Done. |