motion_add_database_sequence
Add an animation sequence to a Pose Search database, making it available for motion matching and optionally adjusting search behavior with mirroring, sampling range, and save settings.
Instructions
Add an AnimSequence entry to a Pose Search database.
Args: database: Pose Search database asset path. sequence: AnimSequence asset path to add. enabled: Whether the database entry participates in search. disable_reselection: Prevent immediate reselection of the same source asset. mirror_option: unmirrored, mirrored_only, or both. sampling_range: Optional [start_seconds, end_seconds] trim range; [0, 0] means full asset. save: Save the database asset after mutation.
Returns: Structured JSON with the added sequence and updated database summary.
KB: see knowledge_base/24_MOTION_MATCHING_AND_CHOOSERS.md#mcp-motion-matching-and-chooser-tools Example: motion_add_database_sequence(database="/Game/Animation/MotionMatching/PSD_Locomotion", sequence="/Game/Characters/Hero/Animations/A_Run")
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": {
"database": "<database>",
"sequence": "<sequence>"
},
"name": "motion_add_database_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| enabled | No | ||
| database | Yes | ||
| sequence | Yes | ||
| mirror_option | No | unmirrored | |
| sampling_range | No | ||
| disable_reselection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |