Create redirect URL
create_redirect_urlAllowlist a redirect URL on an instance for SSO in a mobile or desktop application. Supports HTTPS URLs and custom schemes such as my-app://oauth-callback. Returns the created redirect URL object. An already allowlisted URL returns an error.
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": {
"application_id": "<application_id>",
"instance": "<instance>",
"url": "<url>"
},
"name": "create_redirect_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Redirect URL to allowlist, such as my-app://oauth-callback. | |
| instance | Yes | Instance to target: "development", "production", or a full instance ID (ins_…). | |
| application_id | Yes | Clerk application ID (app_…). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes |