analyze_portal
Analyze a ServiceNow portal to retrieve its pages, widgets, usage counts, and theme details. Use this to understand existing portal components before development.
Instructions
Analyze a complete Service Portal — pages, widgets, theme, widget usage counts.
Provide the portal's URL suffix (e.g. "sp" for the default portal) or its sys_id.
Returns:
Portal metadata (title, theme, homepage)
All pages (title, ID, public/private, roles)
Widgets available on the instance
Widget usage counts across pages
Theme details (CSS variables)
Summary statistics
Use this before starting portal development to understand what already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portal_id | Yes | Portal URL suffix (e.g. "sp") or sys_id |