load_anim_graph
Load an .animgraph file into Open 3D Engine for authoring; returns graph id and file name, reusing existing graph if already loaded.
Instructions
Load an .animgraph file into the engine so it can be authored.
Returns {"id", "file_name"}. Loading a file that is already loaded
this way returns the existing graph's id.
Args:
file_name: Absolute path, an @alias@ path, or a path relative to
the project.
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": {
"file_name": "<file_name>"
},
"name": "load_anim_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |