check_role_exists_on_application
Validates whether a specified role, such as an AWS IAM role ARN, is configured and assignable on an Okta application, returning existence status and suggestions when missing.
Instructions
Check if a specific role exists/is available on an application.
Validates whether a given role (e.g., AWS IAM role ARN) is configured and available for assignment on the specified application.
Args: app_id: The Okta application ID role: The role to check (e.g., "arn:aws:iam::123456789012:role/AdminRole, arn:aws:iam::123456789012:saml-provider/Okta")
Returns: Dict with validation result and suggestions if role not found
Example: # Check if specific AWS role exists result = check_role_exists_on_application( app_id="0oaAWS123", role="arn:aws:iam::123456789012:role/AdminRole,arn:aws:iam::123456789012:saml-provider/Okta" ) # Returns: {"exists": True, "role": "...", "message": "Role exists and can be assigned"}
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": {
"app_id": "<app_id>",
"role": "<role>"
},
"name": "check_role_exists_on_application"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| app_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |