my_assets_import
Import an existing asset owned by you into the current PlayCanvas project. Specify the asset ID and name to add it directly, with optional folder placement.
Instructions
Import an asset owned by the current user into the current 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": {
"id": "<id>",
"name": "<name>"
},
"name": "my_assets_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset ID | |
| name | Yes | ||
| folder | No | Asset ID |