clerk.get_redirect_url
Retrieve an allowed redirect URL by id from a connected Clerk instance.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the redirect URL.
Cost = 3 tokens.
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": {
"redirect_url_id": "<redirect_url_id>"
},
"name": "clerk.get_redirect_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redirect_url_id | Yes | Clerk redirect URL id to retrieve or delete. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redirect_url | No | Clerk redirect URL from the Backend API. |