get_integration_snippet
Generate ready-to-paste code for adding Otipi phone/OTP login and SMS verification to Next.js, Supabase Auth, or Express projects, including Israeli SMS/2FA setup.
Instructions
Return ready-to-paste code for adding Otipi phone/OTP login to a project: Next.js App Router (API routes plus a client component), Supabase Auth (Send SMS hook setup plus client code) or Express. Works offline and does not need an API key. Use it when the user wants to integrate SMS verification or 2FA for Israeli numbers.
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": {
"framework": "<framework>"
},
"name": "get_integration_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Code language. Default ts. | ts |
| framework | Yes | Target framework. |