send_interactive_inputs
Submits a customer's MFA/OTP code to a paused checkout task waiting for interactive input so authentication can continue.
Instructions
Sends input from the customer to a checkout task that is paused and waiting for it (only for tasks created with options.allowInteraction = true). Currently the only supported input is an MFA/OTP code (intent 'mfa'). Ask the customer for the code they received, then submit it here. An OTP can only be submitted once per task.
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": {
"taskId": "<taskId>",
"otp": "<otp>"
},
"name": "send_interactive_inputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otp | Yes | The OTP/MFA code, 4–8 characters | |
| intent | No | Type of input being sent. Supported: 'mfa'. Default: 'mfa' | |
| taskId | Yes | ID of the checkout task that is waiting for input |