update_milestone
Update a Gitea milestone's title, description, due date, or state by ID. Only provided fields change; closing a milestone leaves its issues open—close them separately if needed.
Instructions
Update a milestone by id (PATCH: only provided fields change). Provide any of title/description/due_on/state. state is 'open' or 'closed'. NOTE: closing a milestone does NOT close its open issues (they stay open, merely ungrouped) — close the issues separately if required.
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": {
"id": "<id>"
},
"name": "update_milestone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Milestone ID | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| state | No | Milestone state | |
| title | No | New milestone title | |
| due_on | No | New due date (ISO 8601 format) | |
| description | No | New milestone description |