clerk.upload_oauth_application_logo
Upload or replace the logo image for an OAuth application in a connected Clerk application.
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 updated OAuth application summary.
Cost = 8 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": {
"oauth_application_id": "<oauth_application_id>",
"file_name": "<file_name>"
},
"name": "clerk.upload_oauth_application_logo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | Stored file name from files.list_uploaded_files. Upload with files.upload_file first. | |
| uploader_user_id | No | Clerk user id (user_...) credited with the image upload. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. | |
| oauth_application_id | Yes | Clerk OAuth application id (oa_...) to retrieve, update, or delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oauth_application | No | OAuth application summary with updated client_image_url. |