add_input_action_modifier
Add a modifier such as DeadZone, Scalar, or Negate to an Input Action asset to customize input behavior.
Instructions
Add a modifier to an Input Action.
Args: asset_path: Path to the InputAction asset modifier_type: Class name — InputModifierDeadZone | InputModifierScalar | InputModifierNegate | InputModifierSwizzleAxis | InputModifierSmooth | InputModifierSmoothDelta | InputModifierScaleByDeltaTime | InputModifierResponseCurveExponential | InputModifierResponseCurveUser | InputModifierFOVScaling | InputModifierToWorldSpace properties: Optional modifier properties (e.g. {"LowerThreshold": 0.2, "Type": "Radial"})
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": {
"asset_path": "<asset_path>",
"modifier_type": "<modifier_type>"
},
"name": "add_input_action_modifier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_path | Yes | ||
| properties | No | ||
| modifier_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |