Refresh an article
refreshArticleDestructive
Rewrite only the sections of an article that have gone stale, using what people searched for when it was shown. The article as it was is kept, so the change can be compared and put back; the live post is unchanged until someone publishes it.
A change inside Kooga: it runs at once, as the person.
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": {
"pieceId": "<pieceId>"
},
"name": "refreshArticle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why this article should be refreshed, citing what the read showed (an agent gives one) | |
| pieceId | Yes | Id from readDecaying - never invented | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. | |
| articleTitle | No | What the article is called, as the read gave it, so the merchant sees which one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| pieceId | Yes |