enter_code
Enters a user-provided one-time verification code into a browser tab's code field after approval, completing a verification step instead of handing it back to the user.
Instructions
Types a one-time verification code that the user has just given you into the code field of a tab. Ask the user for the code first; never guess one. Use this only for a step you would otherwise hand back to the user. Nothing happens without the user's approval. If the result has status "needs_confirmation", nothing has been done yet: call the confirm tool with the values from its "confirm" object, unchanged.
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": "enter_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Start of the tab address, used when no tabId is given. With neither, the active tab is used. | |
| code | Yes | The code exactly as the user gave it. | |
| tabId | No | Chrome tab id of the tab you are working in. | |
| submit | No | Submit after typing. Default true. |