check_connection
Verify connectivity and authentication to your ServiceNow instance by checking credentials, instance reachability, and user access. Returns connection status, instance URL, and authenticated user details.
Instructions
Check connectivity and authentication to the ServiceNow instance.
Call this tool at the start of any workflow to verify that:
ServiceNow credentials are configured
The instance is reachable
The authenticated user has valid access
Returns the instance URL, authenticated username, and directly-assigned roles (inherited roles are not included). No parameters required.
Returns: JSON object with "connected" (bool), "instance_url", "authenticated_as", and "roles" (list of directly-assigned role names), or an error if connection fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |