Repin Component
repin_componentMove clips stored in a retired form to their native (version 4) successors: a clip pinning a retired TSX (version 3) component, or one stored before execution pins (needsUpgrade kind unpinned-component), moves to the successorSourceVersionId that get_composition's needsUpgrade (or a component_source_retired refusal) names. Pass projectId and, in body, optional clip_ids (omit them to move every clip that has a successor) and composition_id (the active composition when omitted). Saved inputs are kept. The answer lists moved and withoutSuccessor; rebuild the latter as native components (create_component, then apply_composition at the same timing and placement). A retired clip with no successor must be rebuilt or removed in the same write that upgrades the others: a write never leaves one in place.
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": {
"projectId": "<projectId>",
"body": "<body>"
},
"name": "repin_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| commandId | No | Retry identity. A call repeated with the same commandId returns the first result instead of acting twice. | |
| projectId | Yes | projectId (path). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | ||
| moved | No | ||
| inputsRefused | No | Clips whose successor refuses their stored inputs (its input schema), each with why: fix the inputs by rebuilding the clip, or remove it. | |
| withoutSuccessor | No | Clips in a retired form no curated release recorded: rebuild them as native components, or remove them, in the same edit that upgrades the others. |