mmm_get_keys
Reads bone keyframes from MikuMikuMoving, returning frame, position, rotation quaternion, interpolation curves, and selection state; filter by bone, layer, model, frame range, or selected keys.
Instructions
ボーンのキー(フレーム・位置・回転の四元数 x,y,z,w・補間曲線 x/y/z/r の [ax,ay,bx,by]・選択中か)を読む。
MMM は全ボーンの 0 フレーム目に既定のキーを持つ(VMD に無くても在る)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mmm_get_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bones | No | ボーン名の一覧。省くと全ボーン(多いので frame_range か selected_only で絞ること) | |
| layer | No | モーションレイヤの番号。0 が一番下(名前の無い基本のレイヤ) | |
| model | No | モデルの番号(mmm_list_models の index)。省くと MMM で選択中(アクティブ)のモデル | |
| summary | No | キーの中身を返さず、ボーンごとのキーの数とフレームの一覧だけ返す | |
| frame_range | No | [始め, 終わり](両端を含む)のキーだけ返す | |
| selected_only | No | MMM で選択中のキーだけ返す |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||