run_js
Evaluate JavaScript code within FMOD Studio's scripting terminal to control audio import, event creation, and bank building. Use return to output results.
Instructions
Evaluate arbitrary JavaScript in the Studio scripting terminal.
Your snippet is wrapped in an IIFE, so use return to surface a value.
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": {
"code": "<code>"
},
"name": "run_js"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |