import_legacy_asset
Reads legacy .piv and .stk asset files and converts their structural data into StykAnimate-native schema, optionally loading the result into the active project.
Instructions
Bridges the LLM to the codebase parsing layer to read standard .piv or .stk data types. Returns extracted structural configurations converted into a StykAnimate-native schema format.
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": {
"filePath": "<filePath>"
},
"name": "import_legacy_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format hint (default: "auto" detected from file extension) | |
| filePath | Yes | Local filesystem path to .stk, .piv, or .json file | |
| figureName | No | Custom name to override the imported figure name | |
| addToProject | No | Whether to load the imported asset into active project session (default: true) |