updateKeyframes
Modify multiple keyframes simultaneously within 3D-MCP by specifying IDs, values, and metadata in a single operation, streamlining animation adjustments.
Instructions
Update multiple Keyframes in a single operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of Keyframes to update with their IDs |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of Keyframes to update with their IDs",
"items": {
"additionalProperties": false,
"properties": {
"channelId": {
"description": "ID of the channel this keyframe belongs to",
"type": "string"
},
"ids": {
"description": "Keyframe identifiers to update",
"items": {
"type": "string"
},
"type": "array"
},
"metadata": {
"additionalProperties": {},
"description": "Additional tool-specific metadata",
"type": "object"
},
"name": {
"description": "Display name",
"type": "string"
},
"tangentIn": {
"description": "Incoming tangent handle (for bezier/hermite)",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"tangentOut": {
"$ref": "#/properties/items/items/properties/tangentIn",
"description": "Outgoing tangent handle (for bezier/hermite)"
},
"time": {
"description": "Time position in seconds",
"type": "number"
},
"value": {
"description": "Value at this keyframe",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"ids"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}