set_project_item_archived
Archive or restore a GitHub Projects v2 item without deleting its linked Issue or Pull Request, keeping project boards organized while preserving underlying work items.
Instructions
Archive or restore a GitHub Projects v2 item. This is reversible and does not delete its Issue or Pull Request.
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": {
"account": "<account>",
"owner": "<owner>",
"projectId": "<projectId>",
"itemId": "<itemId>",
"archived": "<archived>"
},
"name": "set_project_item_archived"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ||
| itemId | Yes | ||
| account | Yes | ||
| archived | Yes | ||
| hostname | No | ||
| projectId | Yes |