fgui_import_sound
Import sound files from a local path into a FairyGUI package, supporting replacement of existing sounds to resolve naming conflicts.
Instructions
从绝对本地路径导入声音资源;支持替换同名声音,属于磁盘写入。
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": {
"package_name": "<package_name>",
"source_path": "<source_path>"
},
"name": "fgui_import_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exported | No | ||
| folder_path | No | ||
| source_path | Yes | ||
| package_name | Yes | ||
| resource_name | No | ||
| create_folders | No | ||
| conflict_policy | No | error | |
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||