clerk.get_instance
Retrieve the connected Clerk application instance id and environment type.
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 Clerk instance id (ins_...) and environment_type (development or production). App display names are not available from the Backend API.
Cost = 2 tokens.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clerk.get_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| instance | No | Connected Clerk instance metadata. |