Regenerate from the changed source
regenerate_from_sourceRewrites a piece whose source CHANGED after it was produced (the project status reports it as publication.source.status: cambiada, from Vixdeo's weekly review of every published source). Without confirm_spend it only returns the quote of the piece (quote, the band of the whole piece against the wallet) and nothing is created or read. With confirm_spend=true it reads the source once more and, if it is still changed, launches the script writing of the SAME project from the source as it reads today: a new version declaring regenerada_por with the previous and the new fingerprint of the source. The published work keeps exhibiting the old final until a person renders and updates it. Returns outcome (lanzada · requiere_confirmacion · sin_publicacion · fuente_vigente · fuente_sin_revisar · fuente_retirada · fuente_ilegible · saldo_insuficiente · editorial_en_curso · sin_pedido), sourceStatus, quote and the runId when launched. Requires write. Spends LLM budget when confirmed: a full script pass of the piece, charged at the project's next render settlement; with the automatic line on, the piece is then rebuilt (voice and visuals) up to the final, which a person relaunches.
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": {
"project_id": "<project_id>"
},
"name": "regenerate_from_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| confirm_spend | No | True launches the paid script writing; omitted or false returns only the quote. |