call_function
Call a UFunction on an Unreal Engine object with JSON arguments and get its result, enabling AI-driven game function invocation.
Instructions
Call a UFunction on an object with positional JSON args and return its result. Refused when allow_writes = false.
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": {
"ref": "<ref>",
"function": "<function>"
},
"name": "call_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| args | No | ||
| function | Yes |