anon_patch_announcements_announcement_id
Update a project announcement by ID with optional title, content, type, visibility, pinned status, or expiration. Set expiresAt to null to clear expiry; requires announcement:manage permission.
Instructions
更新公告。需 announcement:manage 权限。字段均可选;expiresAt 传 null 清除过期时间。 PATCH /api/projects/{id}/announcements/{announcementId} 项目由当前 API 密钥自动确定,无需传 projectId。
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": {
"path": "<path>",
"body": "<body>"
},
"name": "anon_patch_announcements_announcement_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |